mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-05 18:27:17 +01:00
[Bleeding] Return correct furnace SlotType. Fixes BUKKIT-5400
Previously, the SlotType for the 0 slot in a furnace returned CONTAINER, when it should have returned SlotType.CRAFTING. This updates the code for determining slot type to return the proper value. By: GJ <gjmcferrin@gmail.com>
This commit is contained in:
parent
f612d70b0d
commit
f94f5c576e
1 changed files with 2 additions and 0 deletions
|
@ -82,6 +82,8 @@ public class CraftInventoryView extends InventoryView {
|
|||
type = SlotType.RESULT;
|
||||
} else if(slot == 1) {
|
||||
type = SlotType.FUEL;
|
||||
} else {
|
||||
type = SlotType.CRAFTING;
|
||||
}
|
||||
break;
|
||||
case BREWING:
|
||||
|
|
Loading…
Reference in a new issue