diff options
author | Mattes D <github@xoft.cz> | 2014-11-27 21:19:52 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-11-27 21:19:52 +0100 |
commit | e3e13f552fe717256e2ba4cb9bea7c00834d1ec4 (patch) | |
tree | fd5fd4968aba3e23c4cb8ece659b0afad19436ee /src/BlockID.cpp | |
parent | CMake: Fixed linux builds. (diff) | |
download | cuberite-e3e13f552fe717256e2ba4cb9bea7c00834d1ec4.tar cuberite-e3e13f552fe717256e2ba4cb9bea7c00834d1ec4.tar.gz cuberite-e3e13f552fe717256e2ba4cb9bea7c00834d1ec4.tar.bz2 cuberite-e3e13f552fe717256e2ba4cb9bea7c00834d1ec4.tar.lz cuberite-e3e13f552fe717256e2ba4cb9bea7c00834d1ec4.tar.xz cuberite-e3e13f552fe717256e2ba4cb9bea7c00834d1ec4.tar.zst cuberite-e3e13f552fe717256e2ba4cb9bea7c00834d1ec4.zip |
Diffstat (limited to '')
-rw-r--r-- | src/BlockID.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/BlockID.cpp b/src/BlockID.cpp index c98e0cad1..06f4232d3 100644 --- a/src/BlockID.cpp +++ b/src/BlockID.cpp @@ -200,7 +200,7 @@ public: -BLOCKTYPE BlockStringToType(const AString & a_BlockTypeString) +int BlockStringToType(const AString & a_BlockTypeString) { int res = atoi(a_BlockTypeString.c_str()); if ((res != 0) || (a_BlockTypeString.compare("0") == 0)) |