Replace !Proxies.common.isSimulating(world) with standard world.isRemote

This commit is contained in:
mezz committed 2015-09-25 15:18:24 -07:00
1 parent 1e89bab556
commit 4234c38d69
44 files changed
+66 -102

No files matched your search

@@ -41,7 +41,7 @@ public class ContainerImprinter extends ContainerItemInventory<ImprinterInventor
@Override
public void onContainerClosed(EntityPlayer entityplayer) {
if (!Proxies.common.isSimulating(entityplayer.worldObj)) {
if (entityplayer.worldObj.isRemote) {
return;
}
@@ -66,7 +66,7 @@ public class ContainerImprinter extends ContainerItemInventory<ImprinterInventor
}
public void updateContainer(World world) {
if (!isNetSynced && !Proxies.common.isSimulating(world)) {
if (!isNetSynced && world.isRemote) {
isNetSynced = true;
Proxies.net.sendToServer(new ForestryPacket(PacketId.IMPRINT_SELECTION_GET));
}