Power distribution fix

This commit is contained in:
Anuken 2018-08-15 18:41:21 -04:00
parent 5c4ac6b702
commit 14c526d0c4

View File

@ -282,7 +282,7 @@ public class PowerNode extends PowerBlock{
}
protected boolean linkValid(Tile tile, Tile link, boolean checkMaxNodes){
if(!(tile != link && link != null && link.block().hasPower)) return false;
if(!(tile != link && link != null && link.block().hasPower) || tile.getTeamID() != link.getTeamID()) return false;
if(link.block() instanceof PowerNode){
DistributorEntity oe = link.entity();