summaryrefslogtreecommitdiffstats
path: root/source/cChestEntity.cpp
diff options
context:
space:
mode:
authorcedeel@gmail.com <cedeel@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-06-08 03:56:44 +0200
committercedeel@gmail.com <cedeel@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-06-08 03:56:44 +0200
commit2295c1d7cba3df6f7fc2e96b0d25df116d0b1692 (patch)
treea25a3245f357f7e216a8949f836a98bd27eab938 /source/cChestEntity.cpp
parentFixed the nightbuild script for automatic Bindings generation (diff)
downloadcuberite-2295c1d7cba3df6f7fc2e96b0d25df116d0b1692.tar
cuberite-2295c1d7cba3df6f7fc2e96b0d25df116d0b1692.tar.gz
cuberite-2295c1d7cba3df6f7fc2e96b0d25df116d0b1692.tar.bz2
cuberite-2295c1d7cba3df6f7fc2e96b0d25df116d0b1692.tar.lz
cuberite-2295c1d7cba3df6f7fc2e96b0d25df116d0b1692.tar.xz
cuberite-2295c1d7cba3df6f7fc2e96b0d25df116d0b1692.tar.zst
cuberite-2295c1d7cba3df6f7fc2e96b0d25df116d0b1692.zip
Diffstat (limited to '')
-rw-r--r--source/cChestEntity.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/source/cChestEntity.cpp b/source/cChestEntity.cpp
index c7f4e6b0d..35fb2894e 100644
--- a/source/cChestEntity.cpp
+++ b/source/cChestEntity.cpp
@@ -106,24 +106,6 @@ void cChestEntity::SetSlot( int a_Slot, cItem & a_Item )
return false; \
}
-bool cChestEntity::LoadFromFile(cFile & f)
-{
- READ(f, m_PosX);
- READ(f, m_PosY);
- READ(f, m_PosZ);
-
- unsigned int NumSlots = 0;
- READ(f, NumSlots);
- for(unsigned int i = 0; i < NumSlots; i++)
- {
- cItem Item;
- READ(f, Item.m_ItemID);
- READ(f, Item.m_ItemCount);
- READ(f, Item.m_ItemHealth);
- SetSlot( i, Item );
- }
- return true;
-}