fix horse inventories

Horse inventories now combine 2 inventories (like
result inventories).

== AT ==
public net/minecraft/world/inventory/HorseInventoryMenu SLOT_BODY_ARMOR
This commit is contained in:
Jake Potrebic
2024-07-06 13:57:10 -07:00
parent d9e3bee3b5
commit 471be1b4da
5 changed files with 105 additions and 28 deletions

View File

@@ -112,7 +112,7 @@ public abstract class CraftAbstractHorse extends CraftAnimals implements Abstrac
@Override
public AbstractHorseInventory getInventory() {
return new CraftSaddledInventory(getHandle().inventory);
return new CraftSaddledInventory(getHandle().inventory, this.getHandle().getBodyArmorAccess()); // Paper - use both inventories
}
// Paper start - Horse API