geforkt von Mirrors/Paper
Add missing InventoryType
Upstream did not add a DECORATED_POT inventory type
Dieser Commit ist enthalten in:
Ursprung
82a8294625
Commit
18496d0c01
@ -529,6 +529,10 @@ public class CraftInventory implements Inventory {
|
|||||||
return InventoryType.COMPOSTER;
|
return InventoryType.COMPOSTER;
|
||||||
} else if (this.inventory instanceof JukeboxBlockEntity) {
|
} else if (this.inventory instanceof JukeboxBlockEntity) {
|
||||||
return InventoryType.JUKEBOX;
|
return InventoryType.JUKEBOX;
|
||||||
|
// Paper start
|
||||||
|
} else if (this.inventory instanceof net.minecraft.world.level.block.entity.DecoratedPotBlockEntity) {
|
||||||
|
return org.bukkit.event.inventory.InventoryType.DECORATED_POT;
|
||||||
|
// Paper end
|
||||||
} else {
|
} else {
|
||||||
return InventoryType.CHEST;
|
return InventoryType.CHEST;
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren