Paper/nms-patches/InventoryHorseChest.patch

15 lines
500 B
Diff
Raw Normal View History

2015-05-25 12:37:24 +02:00
--- a/net/minecraft/server/InventoryHorseChest.java
+++ b/net/minecraft/server/InventoryHorseChest.java
2016-11-17 02:41:03 +01:00
@@ -2,7 +2,9 @@
public class InventoryHorseChest extends InventorySubcontainer {
2016-11-17 02:41:03 +01:00
- 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
}
}