diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-05-07 20:43:37 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-05-07 20:43:37 +0200 |
commit | fbb6404cc8793f5caef374e1eda243fa2d159eb5 (patch) | |
tree | 447e21fdc8b384721d36881d06160b0dfe2c43ab /src/Item.cpp | |
parent | Where is the problem with clang? (diff) | |
download | cuberite-fbb6404cc8793f5caef374e1eda243fa2d159eb5.tar cuberite-fbb6404cc8793f5caef374e1eda243fa2d159eb5.tar.gz cuberite-fbb6404cc8793f5caef374e1eda243fa2d159eb5.tar.bz2 cuberite-fbb6404cc8793f5caef374e1eda243fa2d159eb5.tar.lz cuberite-fbb6404cc8793f5caef374e1eda243fa2d159eb5.tar.xz cuberite-fbb6404cc8793f5caef374e1eda243fa2d159eb5.tar.zst cuberite-fbb6404cc8793f5caef374e1eda243fa2d159eb5.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Item.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Item.cpp b/src/Item.cpp index d32164bc4..d6e8b224a 100644 --- a/src/Item.cpp +++ b/src/Item.cpp @@ -182,7 +182,7 @@ void cItem::FromJson(const Json::Value & a_Value) m_FireworkItem.FadeColoursFromString(a_Value.get("FadeColours", "").asString(), m_FireworkItem); } - m_RepairCost = (unsigned short)a_Value.get("RepairCost", 0).asInt(); + m_RepairCost = a_Value.get("RepairCost", 0).asInt(); } } |