mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-13 17:04:24 +00:00
fix references to worldObj
This commit is contained in:
1 parent
2cb0bb34fb
commit
48be78c6a8
27 files changed
+162
-163
No files matched your search
@@ -81,8 +81,8 @@ public class ToolForgeContainer extends ToolStationContainer
|
||||
logic.decrStackSize(i, 1);
|
||||
int amount = logic.getStackInSlot(1).getItem() instanceof ToolCore ? stack.stackSize : 1;
|
||||
logic.decrStackSize(1, amount);
|
||||
if (!logic.worldObj.isRemote)
|
||||
logic.worldObj.playAuxSFX(1021, (int) logic.xCoord, (int) logic.yCoord, (int) logic.zCoord, 0);
|
||||
if (!logic.getWorld().isRemote)
|
||||
logic.getWorld().playAuxSFX(1021, (int) logic.xCoord, (int) logic.yCoord, (int) logic.zCoord, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user