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

Fixed ordering of params used in SignChangeEvent.

Dieser Commit ist enthalten in:
EvilSeph 2011-04-21 18:43:10 -04:00
Ursprung 3afe2df241
Commit 8ba9f32162

Datei anzeigen

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