From 7eeb0d8f4a16bf0531ef925b6252b41f54d71e13 Mon Sep 17 00:00:00 2001 From: Erik Broes Date: Fri, 1 Apr 2011 09:10:29 +0200 Subject: [PATCH] Fix coordinates on SIGN_CHANGE --- src/main/java/net/minecraft/server/NetServerHandler.java | 4 ++-- 1 file 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 e1fd30b53d..43a99ab7bf 100644 --- a/src/main/java/net/minecraft/server/NetServerHandler.java +++ b/src/main/java/net/minecraft/server/NetServerHandler.java @@ -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); } } }