3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-27 00:22:46 +01:00
Paper/nms-patches/InventoryHorseChest.patch
2018-07-15 10:00:00 +10:00

15 Zeilen
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
}
}