diff options
Diffstat (limited to 'tests/Redstone')
-rw-r--r-- | tests/Redstone/creatable.cpp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/tests/Redstone/creatable.cpp b/tests/Redstone/creatable.cpp index 07b800f9b..f26ebe85c 100644 --- a/tests/Redstone/creatable.cpp +++ b/tests/Redstone/creatable.cpp @@ -144,16 +144,17 @@ public: } }; +class MockChest +{ +public: + BLOCKTYPE GetBlockType(void) const { return 0; } + int GetNumberOfPlayers(void) const { return 0; } +}; int main(int argc, char** argv) { - class MockChest - { - public: - BLOCKTYPE GetBlockType(void) const { return 0; } - int GetNumberOfPlayers(void) const { return 0; } - }; + MockWorld World; |