mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-24 22:04:34 +00:00
Replace !Proxies.common.isSimulating(world) with standard world.isRemote
This commit is contained in:
1 parent
1e89bab556
commit
4234c38d69
44 files changed
+66
-102
No files matched your search
@@ -280,7 +280,7 @@ public class TileTrader extends TileBase {
|
||||
return;
|
||||
}
|
||||
|
||||
if (Proxies.common.isSimulating(worldObj)) {
|
||||
if (!worldObj.isRemote) {
|
||||
IErrorLogic errorLogic = getErrorLogic();
|
||||
|
||||
boolean hasValidTradeAddress = PostManager.postRegistry.isValidTradeAddress(worldObj, address);
|
||||
@@ -301,7 +301,7 @@ public class TileTrader extends TileBase {
|
||||
@Override
|
||||
public IInventoryAdapter getInternalInventory() {
|
||||
// Handle client side
|
||||
if (!Proxies.common.isSimulating(worldObj) || !address.isValid()) {
|
||||
if (worldObj.isRemote || !address.isValid()) {
|
||||
return super.getInternalInventory();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user