summaryrefslogtreecommitdiffstats
path: root/source/BlockID.cpp
diff options
context:
space:
mode:
authorlapayo94@gmail.com <lapayo94@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-07-16 21:20:37 +0200
committerlapayo94@gmail.com <lapayo94@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-07-16 21:20:37 +0200
commit86a991c5a85a9771143320de91d87f6e986300a9 (patch)
treedee2b3b326103217b982a49c90a489eb35235392 /source/BlockID.cpp
parentFixed a copypasta error in previous commit (diff)
downloadcuberite-86a991c5a85a9771143320de91d87f6e986300a9.tar
cuberite-86a991c5a85a9771143320de91d87f6e986300a9.tar.gz
cuberite-86a991c5a85a9771143320de91d87f6e986300a9.tar.bz2
cuberite-86a991c5a85a9771143320de91d87f6e986300a9.tar.lz
cuberite-86a991c5a85a9771143320de91d87f6e986300a9.tar.xz
cuberite-86a991c5a85a9771143320de91d87f6e986300a9.tar.zst
cuberite-86a991c5a85a9771143320de91d87f6e986300a9.zip
Diffstat (limited to '')
-rw-r--r--source/BlockID.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/BlockID.cpp b/source/BlockID.cpp
index 46a8ef5ca..f9c78705b 100644
--- a/source/BlockID.cpp
+++ b/source/BlockID.cpp
@@ -56,7 +56,7 @@ static cBlockIDMap gsBlockIDMap;
-int BlockStringToType(const AString & a_BlockTypeString)
+BLOCKTYPE BlockStringToType(const AString & a_BlockTypeString)
{
int res = atoi(a_BlockTypeString.c_str());
if ((res != 0) || (a_BlockTypeString.compare("0") == 0))