From f7babbaaf632390ebf5305661700b0916ca6e546 Mon Sep 17 00:00:00 2001 From: 17146 <1714673995@qq.com> Date: Sun, 8 Dec 2024 22:07:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=85=85=E7=94=B5=E7=AB=99wr?= =?UTF-8?q?apper=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../block/entity/ChargingStationBlockEntity.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/atsuishio/superbwarfare/block/entity/ChargingStationBlockEntity.java b/src/main/java/com/atsuishio/superbwarfare/block/entity/ChargingStationBlockEntity.java index 61610a939..c78045b15 100644 --- a/src/main/java/com/atsuishio/superbwarfare/block/entity/ChargingStationBlockEntity.java +++ b/src/main/java/com/atsuishio/superbwarfare/block/entity/ChargingStationBlockEntity.java @@ -58,7 +58,7 @@ public class ChargingStationBlockEntity extends BlockEntity implements WorldlyCo protected NonNullList items = NonNullList.withSize(2, ItemStack.EMPTY); private LazyOptional energyHandler; - private LazyOptional[] itemHandlers = SidedInvWrapper.create(this, Direction.NORTH, Direction.DOWN, Direction.NORTH); + private LazyOptional[] itemHandlers = SidedInvWrapper.create(this, Direction.UP, Direction.DOWN, Direction.NORTH); public int fuelTick = 0; public int maxFuelTick = DEFAULT_FUEL_TIME; @@ -331,7 +331,7 @@ public class ChargingStationBlockEntity extends BlockEntity implements WorldlyCo @Override public void reviveCaps() { super.reviveCaps(); - this.itemHandlers = SidedInvWrapper.create(this, Direction.NORTH, Direction.DOWN, Direction.NORTH); + this.itemHandlers = SidedInvWrapper.create(this, Direction.UP, Direction.DOWN, Direction.NORTH); this.energyHandler = LazyOptional.of(() -> new EnergyStorage(MAX_ENERGY)); } }