Merge branch 'master' into crater

This commit is contained in:
Patrick 'Quezler' Mounier 2020-01-27 19:17:22 +01:00
commit 038fc72d7b
No known key found for this signature in database
GPG key ID: 0D6CA7326C76D8EA
2 changed files with 7 additions and 1 deletions

View file

@ -222,7 +222,7 @@ public class ItemConveyor extends BaseConveyor implements Autotiler{
ItemConveyorEntity e = tile.ent();
if(e.len >= capacity) return false;
int direction = source == null ? 0 : Math.abs(source.relativeTo(tile.x, tile.y) - tile.rotation());
return (((direction == 0) && e.minitem >= itemSpace) || ((direction % 2 == 1) && e.minitem > 0.5f + itemSpace)) && (source == null || !(source.block().rotate && (source.rotation() + 2) % 4 == tile.rotation()));
return (((direction == 0) && e.minitem >= itemSpace) || ((direction % 2 == 1) && e.minitem > 0.5f)) && (source == null || !(source.block().rotate && (source.rotation() + 2) % 4 == tile.rotation()));
}
@Override

View file

@ -1,5 +1,11 @@
[
{
"address": "mindustry.us.to"
},
{
"address": "mindustry.ecansol.com:6597"
},
{
"address": "mindustry.ecansol.com:6499"
}
]