From b5a90357c05417a4a35e6aaa21f6f2a836000344 Mon Sep 17 00:00:00 2001 From: Sebastian Hartte Date: Sat, 19 Sep 2020 13:59:09 +0200 Subject: [PATCH] Fix ME Chest attributes being exposed on the wrong side. --- src/main/java/appeng/tile/storage/ChestBlockEntity.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/appeng/tile/storage/ChestBlockEntity.java b/src/main/java/appeng/tile/storage/ChestBlockEntity.java index 8bc1cd9d6..479d640c8 100644 --- a/src/main/java/appeng/tile/storage/ChestBlockEntity.java +++ b/src/main/java/appeng/tile/storage/ChestBlockEntity.java @@ -722,11 +722,11 @@ public class ChestBlockEntity extends AENetworkPowerBlockEntity public void addAllAttributes(World world, BlockPos pos, BlockState state, AttributeList to) { super.addAllAttributes(world, pos, state, to); - if (fluidInsertable != null && to.getSearchDirection() != getForward()) { + if (fluidInsertable != null && to.getSearchDirection() != getForward().getOpposite()) { to.offer(fluidInsertable); } - if (accessor != null && to.getSearchDirection() != getForward()) { + if (accessor != null && to.getSearchDirection() != getForward().getOpposite()) { to.offer(accessor); } }