fix bug that occurs with changing redstone setting

This commit is contained in:
Raoul Van den Berge
2016-01-27 15:14:09 +01:00
parent b3b8440268
commit 8b450709cd
7 changed files with 35 additions and 12 deletions

View File

@@ -19,9 +19,9 @@ public class MessageRedstoneModeUpdate extends MessageHandlerPlayerToServer<Mess
public MessageRedstoneModeUpdate(IRedstoneModeSetting setting)
{
this.x = setting.getPos().getX();
this.y = setting.getPos().getY();
this.z = setting.getPos().getZ();
this.x = setting.getMachinePos().getX();
this.y = setting.getMachinePos().getY();
this.z = setting.getMachinePos().getZ();
}
@Override