Block entities now receive the cChunk param in their Tick() function
They can safely access that chunk and any of its neighbors during ticking. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1526 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
@@ -32,9 +32,9 @@ cDropperEntity::cDropperEntity(int a_BlockX, int a_BlockY, int a_BlockZ, cWorld
|
||||
|
||||
|
||||
|
||||
void cDropperEntity::DropSpenseFromSlot(int a_SlotNum)
|
||||
void cDropperEntity::DropSpenseFromSlot(cChunk & a_Chunk, int a_SlotNum)
|
||||
{
|
||||
DropFromSlot(a_SlotNum);
|
||||
DropFromSlot(a_Chunk, a_SlotNum);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user