Fixed #1436 / Fixed crawlers not exploding
This commit is contained in:
@@ -182,8 +182,11 @@ public class PowerNode extends PowerBlock{
|
||||
|
||||
if(tile == other){
|
||||
if(other.entity.power.links.size == 0){
|
||||
int[] total = {0};
|
||||
getPotentialLinks(tile, link -> {
|
||||
if(!insulated(tile, link)) tile.configure(link.pos());
|
||||
if(!insulated(tile, link) && total[0]++ < maxNodes){
|
||||
tile.configure(link.pos());
|
||||
}
|
||||
});
|
||||
}else{
|
||||
while(entity.power.links.size > 0){
|
||||
|
||||
Reference in New Issue
Block a user