diff options
Diffstat (limited to 'nms-patches/EntityHorse.patch')
-rw-r--r-- | nms-patches/EntityHorse.patch | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/nms-patches/EntityHorse.patch b/nms-patches/EntityHorse.patch index 8a19f61a..06eece5e 100644 --- a/nms-patches/EntityHorse.patch +++ b/nms-patches/EntityHorse.patch @@ -9,24 +9,6 @@ public class EntityHorse extends EntityAnimal implements IInventoryListener { private static final Predicate<Entity> bs = new Predicate() { -@@ -15,7 +17,7 @@ - return this.a((Entity) object); - } - }; -- private static final IAttribute attributeJumpStrength = (new AttributeRanged((IAttribute) null, "horse.jumpStrength", 0.7D, 0.0D, 2.0D)).a("Jump Strength").a(true); -+ public static final IAttribute attributeJumpStrength = (new AttributeRanged((IAttribute) null, "horse.jumpStrength", 0.7D, 0.0D, 2.0D)).a("Jump Strength").a(true); // CraftBukkit - public - private static final String[] bu = new String[] { null, "textures/entity/horse/armor/horse_armor_iron.png", "textures/entity/horse/armor/horse_armor_gold.png", "textures/entity/horse/armor/horse_armor_diamond.png"}; - private static final String[] bv = new String[] { "", "meo", "goo", "dio"}; - private static final int[] bw = new int[] { 0, 5, 7, 11}; -@@ -29,7 +31,7 @@ - public int bm; - public int bo; - protected boolean bp; -- private InventoryHorseChest inventoryChest; -+ public InventoryHorseChest inventoryChest; // CraftBukkit - public - private boolean bF; - protected int bq; - protected float br; @@ -44,6 +46,7 @@ private String bO; private String[] bP = new String[3]; @@ -43,8 +25,7 @@ + return this.hasChest() /* && (i == 1 || i == 2) */ ? 17 : 2; // CraftBukkit - Remove type check } -- private void loadChest() { -+ public void loadChest() { // CraftBukkit - public + public void loadChest() { InventoryHorseChest inventoryhorsechest = this.inventoryChest; - this.inventoryChest = new InventoryHorseChest("HorseChest", this.cZ()); |