Skip to content

Commit

Permalink
Power distribution fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Anuken committed Aug 15, 2018
1 parent 5c4ac6b commit 14c526d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ protected boolean linkValid(Tile tile, Tile link){
}

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();
Expand Down

0 comments on commit 14c526d

Please sign in to comment.