Properly remove the experimental smithing inventory type

This commit is contained in:
Jake Potrebic 2023-06-08 14:45:18 -07:00
parent c05db66ee6
commit 9d89ebb121

View file

@ -164,7 +164,6 @@ public abstract class CraftAbstractInventoryView implements InventoryView {
type = InventoryType.SlotType.CRAFTING; type = InventoryType.SlotType.CRAFTING;
break; break;
case ANVIL: case ANVIL:
case SMITHING:
case CARTOGRAPHY: case CARTOGRAPHY:
case GRINDSTONE: case GRINDSTONE:
case MERCHANT: case MERCHANT:
@ -182,6 +181,7 @@ public abstract class CraftAbstractInventoryView implements InventoryView {
} }
break; break;
case LOOM: case LOOM:
case SMITHING: // Paper - properly remove experimental smithing inventory
case SMITHING_NEW: case SMITHING_NEW:
if (slot == 3) { if (slot == 3) {
type = InventoryType.SlotType.RESULT; type = InventoryType.SlotType.RESULT;