summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockFire.h
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-02-01 17:35:48 +0100
committerTycho <work.tycho+git@gmail.com>2014-02-01 17:35:48 +0100
commit6e39ed3868fa8feba676b0cda28194c249e549ce (patch)
tree9d3bbbff53ea50adb54389268c95aa7c79ea92c3 /src/Blocks/BlockFire.h
parentChanged Signiture of OnDestroyedByPlayer (diff)
downloadcuberite-6e39ed3868fa8feba676b0cda28194c249e549ce.tar
cuberite-6e39ed3868fa8feba676b0cda28194c249e549ce.tar.gz
cuberite-6e39ed3868fa8feba676b0cda28194c249e549ce.tar.bz2
cuberite-6e39ed3868fa8feba676b0cda28194c249e549ce.tar.lz
cuberite-6e39ed3868fa8feba676b0cda28194c249e549ce.tar.xz
cuberite-6e39ed3868fa8feba676b0cda28194c249e549ce.tar.zst
cuberite-6e39ed3868fa8feba676b0cda28194c249e549ce.zip
Diffstat (limited to 'src/Blocks/BlockFire.h')
-rw-r--r--src/Blocks/BlockFire.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Blocks/BlockFire.h b/src/Blocks/BlockFire.h
index a85808c89..a25b87858 100644
--- a/src/Blocks/BlockFire.h
+++ b/src/Blocks/BlockFire.h
@@ -38,9 +38,9 @@ public:
FindAndSetPortalFrame(a_BlockX, a_BlockY, a_BlockZ, a_ChunkInterface, a_WorldInterface); // Brought to you by Aperture Science
}
- virtual void OnDigging(cWorld * a_World, cPlayer * a_Player, int a_BlockX, int a_BlockY, int a_BlockZ) override
+ virtual void OnDigging(cChunkInterface & a_ChunkInterface, cWorldInterface & a_WorldInterface, cPlayer * a_Player, int a_BlockX, int a_BlockY, int a_BlockZ) override
{
- a_World->DigBlock(a_BlockX, a_BlockY, a_BlockZ);
+ a_ChunkInterface.DigBlock(a_WorldInterface, a_BlockX, a_BlockY, a_BlockZ);
}
virtual void ConvertToPickups(cItems & a_Pickups, NIBBLETYPE a_BlockMeta) override