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