3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-27 16:40:07 +01:00
Paper/nms-patches/InventoryHorseChest.patch

15 Zeilen
578 B
Diff

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 {
2018-07-15 02:00:00 +02:00
- public InventoryHorseChest(IChatBaseComponent ichatbasecomponent, int i) {
- super(ichatbasecomponent, i);
2016-11-17 02:41:03 +01:00
+ // CraftBukkit start
2018-07-15 02:00:00 +02:00
+ public InventoryHorseChest(IChatBaseComponent ichatbasecomponent, int i, EntityHorseAbstract owner) {
+ super(ichatbasecomponent, i, (org.bukkit.entity.AbstractHorse) owner.getBukkitEntity());
2016-11-17 02:41:03 +01:00
+ // CraftBukkit end
}
}