From a65e45d889c1f040e1921eb84903af915df512db Mon Sep 17 00:00:00 2001 From: md_5 Date: Sat, 6 Jun 2015 19:33:48 +1000 Subject: [SPIGOT-946] Begin making use of access transforms to simplify patching. --- nms-patches/EntityHorse.patch | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) (limited to 'nms-patches/EntityHorse.patch') 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 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()); -- cgit v1.2.3