diff options
Diffstat (limited to '')
-rw-r--r-- | source/BlockEntities/ChestEntity.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/BlockEntities/ChestEntity.cpp b/source/BlockEntities/ChestEntity.cpp index 3e75d5100..24d2aef11 100644 --- a/source/BlockEntities/ChestEntity.cpp +++ b/source/BlockEntities/ChestEntity.cpp @@ -56,8 +56,8 @@ bool cChestEntity::LoadFromJson(const Json::Value & a_Value) for (Json::Value::iterator itr = AllSlots.begin(); itr != AllSlots.end(); ++itr) { cItem Item; - Item.FromJson( *itr ); - SetSlot( SlotIdx, Item ); + Item.FromJson(*itr); + SetSlot(SlotIdx, Item); SlotIdx++; } return true; |