mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-09 20:30:28 +01:00
15 lines
578 B
Diff
15 lines
578 B
Diff
--- a/net/minecraft/server/InventoryHorseChest.java
|
|
+++ b/net/minecraft/server/InventoryHorseChest.java
|
|
@@ -2,7 +2,9 @@
|
|
|
|
public class InventoryHorseChest extends InventorySubcontainer {
|
|
|
|
- public InventoryHorseChest(IChatBaseComponent ichatbasecomponent, int i) {
|
|
- super(ichatbasecomponent, i);
|
|
+ // CraftBukkit start
|
|
+ public InventoryHorseChest(IChatBaseComponent ichatbasecomponent, int i, EntityHorseAbstract owner) {
|
|
+ super(ichatbasecomponent, i, (org.bukkit.entity.AbstractHorse) owner.getBukkitEntity());
|
|
+ // CraftBukkit end
|
|
}
|
|
}
|