summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities/CommandBlockEntity.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-04-03 09:27:17 +0200
committerMattes D <github@xoft.cz>2014-04-03 09:27:17 +0200
commit25529ba62f949b98ed30e905ee4921c737d7df87 (patch)
tree773b1c615cd4147f1910bb396441186a8a0151a0 /src/BlockEntities/CommandBlockEntity.cpp
parentRemoved the bindings to set old g_BlockXXX arrays. (diff)
downloadcuberite-25529ba62f949b98ed30e905ee4921c737d7df87.tar
cuberite-25529ba62f949b98ed30e905ee4921c737d7df87.tar.gz
cuberite-25529ba62f949b98ed30e905ee4921c737d7df87.tar.bz2
cuberite-25529ba62f949b98ed30e905ee4921c737d7df87.tar.lz
cuberite-25529ba62f949b98ed30e905ee4921c737d7df87.tar.xz
cuberite-25529ba62f949b98ed30e905ee4921c737d7df87.tar.zst
cuberite-25529ba62f949b98ed30e905ee4921c737d7df87.zip
Diffstat (limited to 'src/BlockEntities/CommandBlockEntity.cpp')
-rw-r--r--src/BlockEntities/CommandBlockEntity.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/BlockEntities/CommandBlockEntity.cpp b/src/BlockEntities/CommandBlockEntity.cpp
index d395997a6..96ca0ac37 100644
--- a/src/BlockEntities/CommandBlockEntity.cpp
+++ b/src/BlockEntities/CommandBlockEntity.cpp
@@ -160,7 +160,7 @@ bool cCommandBlockEntity::LoadFromJson(const Json::Value & a_Value)
m_Command = a_Value.get("Command", "").asString();
m_LastOutput = a_Value.get("LastOutput", "").asString();
- m_Result = a_Value.get("SuccessCount", 0).asInt();
+ m_Result = (NIBBLETYPE)a_Value.get("SuccessCount", 0).asInt();
return true;
}