Arseny Spiridonov committed 2020-09-21 22:50:59 +07:00
1 parent 1ba27e2761
commit cae72b2db6
5 files changed
+81 -50

No files matched your search

@@ -62,7 +62,7 @@ public class SignDataPacket extends AbstractPacket
{
TileEntity te = player.worldObj.getTileEntity(x, y, z);
if (te != null && te instanceof BattlesignLogic)
if (te instanceof BattlesignLogic)
{
BattlesignLogic logic = (BattlesignLogic) te;
@@ -73,9 +73,14 @@ public class SignDataPacket extends AbstractPacket
@Override
public void handleServerSide (EntityPlayer player)
{
if (player.worldObj.blockExists(x, y, z))
{
return;
}
TileEntity te = player.worldObj.getTileEntity(x, y, z);
if (te != null && te instanceof BattlesignLogic)
if (te instanceof BattlesignLogic)
{
BattlesignLogic logic = (BattlesignLogic) te;