3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-11-16 21:10:17 +01:00

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
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);
if (event.isCancelled()) {
@ -832,7 +832,7 @@ public class NetServerHandler extends NetHandler implements ICommandListener {
tileentitysign1.i();
// CraftBukkit
this.e.world.g(j, k, j);
this.e.world.g(j, k, i);
}
}
}