Skip to content

Commit

Permalink
Fix NPE
Browse files Browse the repository at this point in the history
  • Loading branch information
DrParadox7 committed Sep 25, 2023
1 parent a64a17d commit 71b8ea9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ else if(isFrame(Coord4D.get(tile).translate(x, y, z), origX+xmin, origX+xmax, or

if(isViableNode(coord.xCoord, coord.yCoord, coord.zCoord))
{
if(!iteratedNodes.contains(tileEntity))
if(tileEntity != null && !iteratedNodes.contains(tileEntity))
{
loopThrough(tileEntity);
}
Expand Down

0 comments on commit 71b8ea9

Please sign in to comment.