diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-10-03 10:52:11 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-10-03 10:52:11 +0200 |
commit | ea2ed2c918bddf773bb8d10298016f4e5309d0b2 (patch) | |
tree | 129848747361501cbc2e330e1a33b7f8089f51b2 /source/Blocks/BlockOre.h | |
parent | sTick: Updated the plugin to work with current code (diff) | |
download | cuberite-ea2ed2c918bddf773bb8d10298016f4e5309d0b2.tar cuberite-ea2ed2c918bddf773bb8d10298016f4e5309d0b2.tar.gz cuberite-ea2ed2c918bddf773bb8d10298016f4e5309d0b2.tar.bz2 cuberite-ea2ed2c918bddf773bb8d10298016f4e5309d0b2.tar.lz cuberite-ea2ed2c918bddf773bb8d10298016f4e5309d0b2.tar.xz cuberite-ea2ed2c918bddf773bb8d10298016f4e5309d0b2.tar.zst cuberite-ea2ed2c918bddf773bb8d10298016f4e5309d0b2.zip |
Diffstat (limited to 'source/Blocks/BlockOre.h')
-rw-r--r-- | source/Blocks/BlockOre.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/Blocks/BlockOre.h b/source/Blocks/BlockOre.h index 86688b761..50f5a88e2 100644 --- a/source/Blocks/BlockOre.h +++ b/source/Blocks/BlockOre.h @@ -13,8 +13,8 @@ class cBlockOreHandler : public cBlockHandler
{
public:
- cBlockOreHandler(BLOCKTYPE a_BlockID)
- : cBlockHandler(a_BlockID)
+ cBlockOreHandler(BLOCKTYPE a_BlockType)
+ : cBlockHandler(a_BlockType)
{
}
@@ -25,7 +25,7 @@ public: short Meta = 0;
MTRand r1;
- switch (m_BlockID)
+ switch (m_BlockType)
{
case E_BLOCK_LAPIS_ORE:
{
@@ -47,7 +47,7 @@ public: }
}
- switch (m_BlockID)
+ switch (m_BlockType)
{
case E_BLOCK_DIAMOND_ORE:
{
|