Possible crash fix

This commit is contained in:
Anuken
2025-04-13 22:46:43 -04:00
parent 93a784d0e8
commit c59daa5bbb

View File

@@ -188,7 +188,7 @@ abstract class BuilderComp implements Posc, Statusc, Teamc, Rotc{
//otherwise, update it.
if(current.breaking){
entity.deconstruct(self(), core, bs);
}else if(entity.current.unlockedNowHost()){ //only allow building unlocked blocks
}else if(entity.current != null && entity.current.unlockedNowHost()){ //only allow building unlocked blocks
entity.construct(self(), core, bs, current.config);
}