Fixed physics event

This commit is contained in:
Dinnerbone 2010-12-31 21:46:19 +00:00
parent a69c75bede
commit 1795a66df3

View File

@ -69,7 +69,7 @@ public class WorldServer extends World {
if (block != null) {
// CraftBukkit start
BlockPhysicsEvent event = new BlockPhysicsEvent(Type.BLOCK_PHYSICS, world.getBlockAt(f, y, f), l1);
BlockPhysicsEvent event = new BlockPhysicsEvent(Type.BLOCK_PHYSICS, world.getBlockAt(i1, j1, k1), l1);
server.getPluginManager().callEvent(event);
if (event.isCancelled()) {
return;