summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockHandler.cpp
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-02-01 15:01:13 +0100
committerTycho <work.tycho+git@gmail.com>2014-02-01 15:01:13 +0100
commitcf3b4ec226034b006fd646b395f4e8a609f6f378 (patch)
treee8c88b1d734660b2b7640d6cf31a62729e05b92c /src/Blocks/BlockHandler.cpp
parentChanged pointers to references (diff)
downloadcuberite-cf3b4ec226034b006fd646b395f4e8a609f6f378.tar
cuberite-cf3b4ec226034b006fd646b395f4e8a609f6f378.tar.gz
cuberite-cf3b4ec226034b006fd646b395f4e8a609f6f378.tar.bz2
cuberite-cf3b4ec226034b006fd646b395f4e8a609f6f378.tar.lz
cuberite-cf3b4ec226034b006fd646b395f4e8a609f6f378.tar.xz
cuberite-cf3b4ec226034b006fd646b395f4e8a609f6f378.tar.zst
cuberite-cf3b4ec226034b006fd646b395f4e8a609f6f378.zip
Diffstat (limited to 'src/Blocks/BlockHandler.cpp')
-rw-r--r--src/Blocks/BlockHandler.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Blocks/BlockHandler.cpp b/src/Blocks/BlockHandler.cpp
index 374c64fd8..d5ca9dcc1 100644
--- a/src/Blocks/BlockHandler.cpp
+++ b/src/Blocks/BlockHandler.cpp
@@ -5,6 +5,7 @@
#include "../World.h"
#include "../Root.h"
#include "../Bindings/PluginManager.h"
+#include "../Chunk.h"
#include "BlockBed.h"
#include "BlockBrewingStand.h"
#include "BlockButton.h"
@@ -276,7 +277,7 @@ void cBlockHandler::OnPlacedByPlayer(cChunkInterface & a_ChunkInterface, cWorldI
-void cBlockHandler::OnDestroyedByPlayer(cWorld *a_World, cPlayer * a_Player, int a_BlockX, int a_BlockY, int a_BlockZ)
+void cBlockHandler::OnDestroyedByPlayer(cChunkInterface & a_ChunkInterface, cWorldInterface & a_WorldInterface, cPlayer * a_Player, int a_BlockX, int a_BlockY, int a_BlockZ)
{
}