Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-20 21:40:06 +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.
Dieser Commit ist enthalten in:
Ursprung
ec41228fb5
Commit
9c251595d4
@ -82,6 +82,8 @@ public class CraftInventoryView extends InventoryView {
|
|||||||
type = SlotType.RESULT;
|
type = SlotType.RESULT;
|
||||||
} else if(slot == 1) {
|
} else if(slot == 1) {
|
||||||
type = SlotType.FUEL;
|
type = SlotType.FUEL;
|
||||||
|
} else {
|
||||||
|
type = SlotType.CRAFTING;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case BREWING:
|
case BREWING:
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren