Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-18 20:40:08 +01:00
SPIGOT-4718: Fix creating odd inventory sizes
Dieser Commit ist enthalten in:
Ursprung
005e1bbc13
Commit
c8d1e94209
@ -168,7 +168,7 @@ public class CraftContainer extends Container {
|
|||||||
case PLAYER:
|
case PLAYER:
|
||||||
case CHEST:
|
case CHEST:
|
||||||
case BARREL:
|
case BARREL:
|
||||||
delegate = new ContainerChest(Containers.GENERIC_9X3, windowId, bottom, top, 3);
|
delegate = new ContainerChest(Containers.GENERIC_9X3, windowId, bottom, top, top.getSize() / 9);
|
||||||
break;
|
break;
|
||||||
case DISPENSER:
|
case DISPENSER:
|
||||||
case DROPPER:
|
case DROPPER:
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren