This commit is contained in:
Anuken
2019-09-14 20:57:10 -04:00
parent 6d61515e28
commit cd456f80a4
2 changed files with 6 additions and 4 deletions

View File

@@ -62,8 +62,8 @@ public class Router extends Block{
int counter = tile.rotation();
for(int i = 0; i < proximity.size; i++){
Tile other = proximity.get((i + counter) % proximity.size);
if(other == from) continue;
if(set) tile.rotation((byte)((tile.rotation() + 1) % proximity.size));
if(other == from) continue;
if(other.block().acceptItem(item, other, Edges.getFacingEdge(tile, other))){
return other;
}