mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-26 14:52:58 +00:00
skip acceptor if it's TileEntity is null, because the tile has unloaded (reported on discord)
This commit is contained in:
1 parent
4d497e23a5
commit
0a9c253f0f
1 file changed
+1
-1
@@ -42,7 +42,7 @@ public class InventoryNetwork extends DynamicNetwork<TileEntity, InventoryNetwor
|
||||
EnumSet<EnumFacing> sides = acceptorDirections.get(coord);
|
||||
TileEntity acceptor = coord.getTileEntity(getWorld());
|
||||
|
||||
if (sides == null || sides.isEmpty()) {
|
||||
if (acceptor == null || sides == null || sides.isEmpty()) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user