Possible crash fix
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user