summaryrefslogtreecommitdiffstats
path: root/nms-patches/InventoryHorseChest.patch
blob: 875dd670defb8249e439f2aca68810ed9c517229 (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(String s, int i) {
-        super(s, false, i);
+    // CraftBukkit start
+    public InventoryHorseChest(String s, int i, EntityHorseAbstract owner) {
+        super(s, false, i, (org.bukkit.entity.AbstractHorse) owner.getBukkitEntity());
+        // CraftBukkit end
     }
 }