From 8ba9f321629971a851813ec6b925e9b4d0f71739 Mon Sep 17 00:00:00 2001 From: EvilSeph Date: Thu, 21 Apr 2011 18:43:10 -0400 Subject: Fixed ordering of params used in SignChangeEvent. --- src/main/java/net/minecraft/server/NetServerHandler.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/main/java/net/minecraft/server/NetServerHandler.java b/src/main/java/net/minecraft/server/NetServerHandler.java index 4e6fd153..b9888ef6 100644 --- a/src/main/java/net/minecraft/server/NetServerHandler.java +++ b/src/main/java/net/minecraft/server/NetServerHandler.java @@ -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); } } } -- cgit v1.2.3