Respect insulated blocks when toggeling a powernode (#1163)
This commit is contained in:
committed by
Anuken
parent
50a6071cfc
commit
8b80a42886
@@ -183,7 +183,7 @@ public class PowerNode extends PowerBlock{
|
|||||||
if(tile == other){
|
if(tile == other){
|
||||||
if(other.entity.power.links.size == 0){
|
if(other.entity.power.links.size == 0){
|
||||||
getPotentialLinks(tile, link -> {
|
getPotentialLinks(tile, link -> {
|
||||||
tile.configure(link.pos());
|
if(!insulated(tile, link)) tile.configure(link.pos());
|
||||||
});
|
});
|
||||||
}else{
|
}else{
|
||||||
while(entity.power.links.size > 0){
|
while(entity.power.links.size > 0){
|
||||||
|
|||||||
Reference in New Issue
Block a user