From 3138daa1f8902a9e57d8ff2aa2951a194808b8ae Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Tue, 28 May 2013 18:50:44 +0000 Subject: 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 --- source/DropperEntity.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/DropperEntity.cpp') diff --git a/source/DropperEntity.cpp b/source/DropperEntity.cpp index 39c2cf3bd..be2726cfa 100644 --- a/source/DropperEntity.cpp +++ b/source/DropperEntity.cpp @@ -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); } -- cgit v1.2.3