summaryrefslogtreecommitdiffstats
path: root/nms-patches/InventoryHorseChest.patch
blob: 05e5572c22714857b4911fb70e282590b45161a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- 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
     }
 }