mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-29 07:48:53 +01:00
14 lines
578 B
Diff
14 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
|
|
}
|
|
}
|