From 62b23e81024bee747357f0a39e491a90b4f66e13 Mon Sep 17 00:00:00 2001 From: GlodBlock <1356392126@qq.com> Date: Sun, 5 Feb 2023 20:26:47 +0800 Subject: [PATCH] remove --- .../github/network/CPacketTransferRecipe.java | 20 ------------------- 1 file changed, 20 deletions(-) diff --git a/src/main/java/com/glodblock/github/network/CPacketTransferRecipe.java b/src/main/java/com/glodblock/github/network/CPacketTransferRecipe.java index a2deca6d..4b8619b9 100644 --- a/src/main/java/com/glodblock/github/network/CPacketTransferRecipe.java +++ b/src/main/java/com/glodblock/github/network/CPacketTransferRecipe.java @@ -172,25 +172,5 @@ public class CPacketTransferRecipe implements IMessage { } } } - - private boolean clearCraftingTable(AEBaseContainer c, EntityPlayerMP player) { - Slot s = null; - for (final Object j : c.inventorySlots) { - if (j instanceof SlotCraftingMatrix) { - s = (Slot) j; - } - } - if (s != null) { - c.doAction(player, InventoryAction.MOVE_REGION, s.slotNumber, 0); - } - for (final Object j : c.inventorySlots) { - if (j instanceof SlotCraftingMatrix) { - if (((SlotCraftingMatrix) j).getHasStack()) { - return false; - } - } - } - return true; - } } }