From 1a0bfd8d28c68d3ee60352ef67c58da946c43cea Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Mon, 28 May 2012 16:47:57 +0000 Subject: Chests and Furnaces are now saved properly into Anvil scheme. git-svn-id: http://mc-server.googlecode.com/svn/trunk@516 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cChestEntity.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/cChestEntity.h') diff --git a/source/cChestEntity.h b/source/cChestEntity.h index 323eb0f8a..2ae87d59f 100644 --- a/source/cChestEntity.h +++ b/source/cChestEntity.h @@ -34,7 +34,7 @@ public: void HandleData( cNBTData* a_NBTData ); - cItem * GetSlot( int a_Slot ); + const cItem * GetSlot( int a_Slot ) const; void SetSlot( int a_Slot, cItem & a_Item ); OBSOLETE bool LoadFromFile(cFile & a_File); // deprecated format -- cgit v1.2.3