diff options
author | Dinnerbone <dinnerbone@dinnerbone.com> | 2010-12-31 21:46:19 +0000 |
---|---|---|
committer | Dinnerbone <dinnerbone@dinnerbone.com> | 2010-12-31 21:46:19 +0000 |
commit | 1795a66df3a71f4626680834680824ffa436398f (patch) | |
tree | 11ed524ddc3c7b1f17dfb60b953c2a4f41a9faa5 /src/net | |
parent | a69c75bedecc56f35d103557e80ac7d9c0fe90d6 (diff) | |
download | craftbukkit-1795a66df3a71f4626680834680824ffa436398f.tar craftbukkit-1795a66df3a71f4626680834680824ffa436398f.tar.gz craftbukkit-1795a66df3a71f4626680834680824ffa436398f.tar.lz craftbukkit-1795a66df3a71f4626680834680824ffa436398f.tar.xz craftbukkit-1795a66df3a71f4626680834680824ffa436398f.zip |
Fixed physics event
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/minecraft/server/WorldServer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/minecraft/server/WorldServer.java b/src/net/minecraft/server/WorldServer.java index c51d24c6..bd5bce9e 100644 --- a/src/net/minecraft/server/WorldServer.java +++ b/src/net/minecraft/server/WorldServer.java @@ -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; |