diff options
author | md_5 <git@md-5.net> | 2015-06-06 19:33:48 +1000 |
---|---|---|
committer | md_5 <git@md-5.net> | 2015-06-06 19:46:42 +1000 |
commit | a65e45d889c1f040e1921eb84903af915df512db (patch) | |
tree | 74ff87413ffc36de8640085c6b611b554a55b144 /nms-patches/EntityGuardian.patch | |
parent | a6a57a96d02e57264d45120ce9f272c18c64407a (diff) | |
download | craftbukkit-a65e45d889c1f040e1921eb84903af915df512db.tar craftbukkit-a65e45d889c1f040e1921eb84903af915df512db.tar.gz craftbukkit-a65e45d889c1f040e1921eb84903af915df512db.tar.lz craftbukkit-a65e45d889c1f040e1921eb84903af915df512db.tar.xz craftbukkit-a65e45d889c1f040e1921eb84903af915df512db.zip |
[SPIGOT-946] Begin making use of access transforms to simplify patching.
Diffstat (limited to 'nms-patches/EntityGuardian.patch')
-rw-r--r-- | nms-patches/EntityGuardian.patch | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/nms-patches/EntityGuardian.patch b/nms-patches/EntityGuardian.patch deleted file mode 100644 index e97f727e..00000000 --- a/nms-patches/EntityGuardian.patch +++ /dev/null @@ -1,29 +0,0 @@ ---- a/net/minecraft/server/EntityGuardian.java -+++ b/net/minecraft/server/EntityGuardian.java -@@ -14,7 +14,7 @@ - private EntityLiving bo; - private int bp; - private boolean bq; -- private PathfinderGoalRandomStroll goalRandomStroll; -+ public PathfinderGoalRandomStroll goalRandomStroll; // CraftBukkit - public - - public EntityGuardian(World world) { - super(world); -@@ -35,7 +35,7 @@ - this.b = this.a = this.random.nextFloat(); - } - -- protected void initAttributes() { -+ public void initAttributes() { // CraftBukkit - public - super.initAttributes(); - this.getAttributeInstance(GenericAttributes.ATTACK_DAMAGE).setValue(6.0D); - this.getAttributeInstance(GenericAttributes.MOVEMENT_SPEED).setValue(0.5D); -@@ -516,7 +516,7 @@ - return (entityliving instanceof EntityHuman || entityliving instanceof EntitySquid) && entityliving.h(this.a) > 9.0D; - } - -- public boolean apply(Object object) { -+ public boolean apply(EntityLiving object) { // CraftBukkit - fix decompile error - return this.a((EntityLiving) object); - } - } |