mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 22:34:21 +00:00
Fix NPE
This commit is contained in:
1 parent
a64a17d9d8
commit
71b8ea98ca
1 file changed
+1
-1
@@ -227,7 +227,7 @@ public abstract class UpdateProtocol<T extends SynchronizedData<T>>
|
||||
|
||||
if(isViableNode(coord.xCoord, coord.yCoord, coord.zCoord))
|
||||
{
|
||||
if(!iteratedNodes.contains(tileEntity))
|
||||
if(tileEntity != null && !iteratedNodes.contains(tileEntity))
|
||||
{
|
||||
loopThrough(tileEntity);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user