summaryrefslogtreecommitdiffstats
path: root/src/BlockID.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-11-28 22:46:58 +0100
committerMattes D <github@xoft.cz>2014-11-28 22:46:58 +0100
commit883230abbcc20a4a27e1d8909894be63dee75d43 (patch)
treeecbdc082281e820fc98a302add93400ba467dbd7 /src/BlockID.cpp
parentCMake: Fixed linux builds. (diff)
parentChunk: Fixed same-name iterators. (diff)
downloadcuberite-883230abbcc20a4a27e1d8909894be63dee75d43.tar
cuberite-883230abbcc20a4a27e1d8909894be63dee75d43.tar.gz
cuberite-883230abbcc20a4a27e1d8909894be63dee75d43.tar.bz2
cuberite-883230abbcc20a4a27e1d8909894be63dee75d43.tar.lz
cuberite-883230abbcc20a4a27e1d8909894be63dee75d43.tar.xz
cuberite-883230abbcc20a4a27e1d8909894be63dee75d43.tar.zst
cuberite-883230abbcc20a4a27e1d8909894be63dee75d43.zip
Diffstat (limited to 'src/BlockID.cpp')
-rw-r--r--src/BlockID.cpp2
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))