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/WSSAnvil.h | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'source/WSSAnvil.h') diff --git a/source/WSSAnvil.h b/source/WSSAnvil.h index c9f08aeee..f8beea524 100644 --- a/source/WSSAnvil.h +++ b/source/WSSAnvil.h @@ -31,16 +31,6 @@ enum -// fwd: "NBT.h" -class cNBTTag; -class cNBTList; -class cNBTCompound; -class cNBTByteArray; - - - - - class cWSSAnvil : public cWSSchema { @@ -118,7 +108,8 @@ protected: /// Loads the chunk's BlockEntities from NBT data (a_Tag is the Level\\TileEntities list tag; may be -1) void LoadBlockEntitiesFromNBT(cBlockEntityList & a_BlockEntitites, const cParsedNBT & a_NBT, int a_Tag); - void LoadChestFromNBT(cBlockEntityList & a_BlockEntities, const cParsedNBT & a_NBT, int a_TagIdx); + void LoadChestFromNBT (cBlockEntityList & a_BlockEntities, const cParsedNBT & a_NBT, int a_TagIdx); + void LoadFurnaceFromNBT(cBlockEntityList & a_BlockEntities, const cParsedNBT & a_NBT, int a_TagIdx); /// Helper function for extracting the X, Y, and Z int subtags of a NBT compound; returns true if successful bool GetBlockEntityNBTPos(const cParsedNBT & a_NBT, int a_TagIdx, int & a_X, int & a_Y, int & a_Z); -- cgit v1.2.3