Respect insulated blocks when toggeling a powernode (#1163)

This commit is contained in:
Patrick 'Quezler' Mounier
2019-12-07 17:10:59 +01:00
committed by Anuken
parent 50a6071cfc
commit 8b80a42886

View File

@@ -183,7 +183,7 @@ public class PowerNode extends PowerBlock{
if(tile == other){
if(other.entity.power.links.size == 0){
getPotentialLinks(tile, link -> {
tile.configure(link.pos());
if(!insulated(tile, link)) tile.configure(link.pos());
});
}else{
while(entity.power.links.size > 0){