From 4a3c46789a6f39dd0f8b48b2c1f73508a19d8f00 Mon Sep 17 00:00:00 2001 From: Maxx <53229958+MBatt1@users.noreply.github.com> Date: Fri, 26 Apr 2024 16:55:26 -0500 Subject: [PATCH] #757 --- .../net/id/paradiselost/screen/handler/MoaScreenHandler.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/net/id/paradiselost/screen/handler/MoaScreenHandler.java b/src/main/java/net/id/paradiselost/screen/handler/MoaScreenHandler.java index f997b9b8b..9538064c4 100644 --- a/src/main/java/net/id/paradiselost/screen/handler/MoaScreenHandler.java +++ b/src/main/java/net/id/paradiselost/screen/handler/MoaScreenHandler.java @@ -145,6 +145,7 @@ public MoaEntity moa() { @Override public ItemStack transferSlot(PlayerEntity player, int sourceSlot) { ItemStack result = ItemStack.EMPTY; + if (!moa.hasChest()) return result; Slot slot = slots.get(sourceSlot); if (!slot.hasStack()) { return result;