summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server/NetServerHandler.java
diff options
context:
space:
mode:
authorEvilSeph <evilseph@unaligned.org>2011-04-21 18:43:10 -0400
committerEvilSeph <evilseph@unaligned.org>2011-04-21 18:44:28 -0400
commit8ba9f321629971a851813ec6b925e9b4d0f71739 (patch)
tree778f5deaf8c9cbce2fbba0646266d40f439e5f09 /src/main/java/net/minecraft/server/NetServerHandler.java
parent3afe2df2415b6c4b5b2f52756c3ff7ec8615be22 (diff)
downloadcraftbukkit-8ba9f321629971a851813ec6b925e9b4d0f71739.tar
craftbukkit-8ba9f321629971a851813ec6b925e9b4d0f71739.tar.gz
craftbukkit-8ba9f321629971a851813ec6b925e9b4d0f71739.tar.lz
craftbukkit-8ba9f321629971a851813ec6b925e9b4d0f71739.tar.xz
craftbukkit-8ba9f321629971a851813ec6b925e9b4d0f71739.zip
Fixed ordering of params used in SignChangeEvent.
Diffstat (limited to 'src/main/java/net/minecraft/server/NetServerHandler.java')
-rw-r--r--src/main/java/net/minecraft/server/NetServerHandler.java4
1 files changed, 2 insertions, 2 deletions
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);
}
}
}