summaryrefslogtreecommitdiffstats
path: root/source/cBlockToPickup.h
diff options
context:
space:
mode:
authorlapayo94@gmail.com <lapayo94@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2011-12-25 02:40:31 +0100
committerlapayo94@gmail.com <lapayo94@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2011-12-25 02:40:31 +0100
commitf419ec2fe783ddf4252f50f475c2a5cf9e70038e (patch)
tree901c83eef4027c90c768df2de7cbae2f4e84e1e5 /source/cBlockToPickup.h
parentChunks are generated in a separate thread allowing players to keep on playing and chatting while chunks are generated. This means, however, that cWorld::GetChunk() does not always return a chunk and is something you need to be aware of. I am not entirely sure if all this is completely stable, but I think so :O (diff)
downloadcuberite-f419ec2fe783ddf4252f50f475c2a5cf9e70038e.tar
cuberite-f419ec2fe783ddf4252f50f475c2a5cf9e70038e.tar.gz
cuberite-f419ec2fe783ddf4252f50f475c2a5cf9e70038e.tar.bz2
cuberite-f419ec2fe783ddf4252f50f475c2a5cf9e70038e.tar.lz
cuberite-f419ec2fe783ddf4252f50f475c2a5cf9e70038e.tar.xz
cuberite-f419ec2fe783ddf4252f50f475c2a5cf9e70038e.tar.zst
cuberite-f419ec2fe783ddf4252f50f475c2a5cf9e70038e.zip
Diffstat (limited to '')
-rw-r--r--source/cBlockToPickup.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/cBlockToPickup.h b/source/cBlockToPickup.h
index 8eb74c5ae..a59d64318 100644
--- a/source/cBlockToPickup.h
+++ b/source/cBlockToPickup.h
@@ -10,4 +10,5 @@ class cBlockToPickup
{
public:
static ENUM_ITEM_ID ToPickup( unsigned char a_BlockID, ENUM_ITEM_ID a_UsedItemID );
+ static char PickupCount(unsigned char a_BlockID);
};