mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-26 00:38:35 +01:00
Fix the farmer having wrong rotations
This commit is contained in:
parent
8226479ce8
commit
72c1c276cf
2 changed files with 2 additions and 2 deletions
|
@ -99,8 +99,7 @@ public class TileEntityFarmer extends TileEntityInventoryBase{
|
||||||
|
|
||||||
IBlockState state = this.world.getBlockState(this.pos);
|
IBlockState state = this.world.getBlockState(this.pos);
|
||||||
int meta = state.getBlock().getMetaFromState(state);
|
int meta = state.getBlock().getMetaFromState(state);
|
||||||
EnumFacing side = meta == 0 ? EnumFacing.NORTH : (meta == 1 ? EnumFacing.SOUTH : (meta == 2 ? EnumFacing.WEST : EnumFacing.EAST));
|
BlockPos center = this.pos.offset(EnumFacing.getHorizontal(meta), radiusAroundCenter+1);
|
||||||
BlockPos center = this.pos.offset(side, radiusAroundCenter+1);
|
|
||||||
|
|
||||||
BlockPos plant = center.add(this.checkX, 0, this.checkY);
|
BlockPos plant = center.add(this.checkX, 0, this.checkY);
|
||||||
IBlockState plantState = this.world.getBlockState(plant);
|
IBlockState plantState = this.world.getBlockState(plant);
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
* Fix an exception during loading some tileentities causing them to lose their data
|
* Fix an exception during loading some tileentities causing them to lose their data
|
||||||
* Fix a crash with Energy Phantomfaces and Tesla
|
* Fix a crash with Energy Phantomfaces and Tesla
|
||||||
* Improve performance of Patreon display code
|
* Improve performance of Patreon display code
|
||||||
|
* Fix the farmer rotations being wrong
|
||||||
|
|
||||||
# 1.11-r82
|
# 1.11-r82
|
||||||
* Made Filter Slots be ignored by Comparators (all filter settings that currently exist will be lost, so check your filters!)
|
* Made Filter Slots be ignored by Comparators (all filter settings that currently exist will be lost, so check your filters!)
|
||||||
|
|
Loading…
Reference in a new issue