mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-24 22:04:49 +00:00
Fix spam of Null Pointers
This commit is contained in:
1 parent
937bb92f23
commit
7902163645
1 file changed
+1
-1
@@ -380,7 +380,7 @@ public class TileEntityFactory extends TileEntityMachine implements IComputerInt
|
||||
recalculateUpgradables(upgrade);
|
||||
}
|
||||
|
||||
if (world.isRemote) {
|
||||
if (hasWorld() && world.isRemote) {
|
||||
setSoundEvent(type.getSound());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user