mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-22 20:48:33 +07:00
Crash fix
This commit is contained in:
parent
b422e041f4
commit
f4e90bfb6b
@ -388,7 +388,7 @@ public class Logic implements ApplicationListener{
|
|||||||
node.content.unlock();
|
node.content.unlock();
|
||||||
node = node.parent;
|
node = node.parent;
|
||||||
|
|
||||||
if((node.content instanceof Item item && state.rules.hiddenBuildItems.contains(item))){
|
if(node != null && (node.content instanceof Item item && state.rules.hiddenBuildItems.contains(item))){
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user