Fix coordinates on SIGN_CHANGE

Dieser Commit ist enthalten in:
Erik Broes 2011-04-01 09:10:29 +02:00
Ursprung a3a1436df5
Commit 7eeb0d8f4a

Datei anzeigen

@ -813,7 +813,7 @@ public class NetServerHandler extends NetHandler implements ICommandListener {
// CraftBukkit start - SIGN_CHANGE hook // CraftBukkit start - SIGN_CHANGE hook
Player player = server.getPlayer(this.e); Player player = server.getPlayer(this.e);
SignChangeEvent event = new SignChangeEvent((CraftBlock) player.getWorld().getBlockAt(j, k, j), server.getPlayer(this.e), packet130updatesign.d); SignChangeEvent event = new SignChangeEvent((CraftBlock) player.getWorld().getBlockAt(j, k, i), server.getPlayer(this.e), packet130updatesign.d);
server.getPluginManager().callEvent(event); server.getPluginManager().callEvent(event);
if (event.isCancelled()) { if (event.isCancelled()) {
@ -832,7 +832,7 @@ public class NetServerHandler extends NetHandler implements ICommandListener {
tileentitysign1.i(); tileentitysign1.i();
// CraftBukkit // CraftBukkit
this.e.world.g(j, k, j); this.e.world.g(j, k, i);
} }
} }
} }