mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-20 12:09:39 +00:00
Update for Minecraft 1.9.4
This commit is contained in:
1 parent
da486ee941
commit
b444994b81
163 files changed
+939
-641
No files matched your search
@@ -46,11 +46,11 @@ public class FarmHelper {
|
||||
BlockPos.MutableBlockPos edge = new BlockPos.MutableBlockPos(start);
|
||||
|
||||
while (world.getTileEntity(edge) instanceof IFarmComponent) {
|
||||
edge.offsetMutable(direction.getFacing());
|
||||
edge.move(direction.getFacing());
|
||||
}
|
||||
|
||||
FarmDirection oppositeDirection = getOpposite(direction);
|
||||
edge.offsetMutable(oppositeDirection.getFacing());
|
||||
edge.move(oppositeDirection.getFacing());
|
||||
return edge.toImmutable();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user