diff options
author | md_5 <git@md-5.net> | 2014-12-12 10:56:20 +1100 |
---|---|---|
committer | md_5 <git@md-5.net> | 2014-12-12 10:57:00 +1100 |
commit | 9fa497cd5568f2c232ef19f6c085dcca1a971ce0 (patch) | |
tree | 8f1c0681608788d8b31e7f54a793e8c07c91adeb /nms-patches/EntityZombie.patch | |
parent | 3b1c7d708e8b96da537b7a68867773329056cd75 (diff) | |
download | craftbukkit-9fa497cd5568f2c232ef19f6c085dcca1a971ce0.tar craftbukkit-9fa497cd5568f2c232ef19f6c085dcca1a971ce0.tar.gz craftbukkit-9fa497cd5568f2c232ef19f6c085dcca1a971ce0.tar.lz craftbukkit-9fa497cd5568f2c232ef19f6c085dcca1a971ce0.tar.xz craftbukkit-9fa497cd5568f2c232ef19f6c085dcca1a971ce0.zip |
Add implementation of the elder Guardian API
Diffstat (limited to 'nms-patches/EntityZombie.patch')
-rw-r--r-- | nms-patches/EntityZombie.patch | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/nms-patches/EntityZombie.patch b/nms-patches/EntityZombie.patch index 42230d6e..25dadd99 100644 --- a/nms-patches/EntityZombie.patch +++ b/nms-patches/EntityZombie.patch @@ -1,5 +1,5 @@ ---- ../work/decompile-8eb82bde//net/minecraft/server/EntityZombie.java 2014-11-28 17:43:43.185707433 +0000 -+++ src/main/java/net/minecraft/server/EntityZombie.java 2014-11-28 17:38:22.000000000 +0000 +--- ../work/decompile-8eb82bde//net/minecraft/server/EntityZombie.java Thu Dec 11 13:57:17 2014 ++++ src/main/java/net/minecraft/server/EntityZombie.java Thu Dec 11 13:56:17 2014 @@ -4,6 +4,14 @@ import java.util.List; import java.util.UUID; @@ -106,3 +106,13 @@ entityvillager.addEffect(new MobEffect(MobEffectList.CONFUSION.id, 200, 0)); this.world.a((EntityHuman) null, 1017, new BlockPosition((int) this.locX, (int) this.locY, (int) this.locZ), 0); } +@@ -487,7 +516,8 @@ + this.a(flag ? 0.5F : 1.0F); + } + +- protected final void a(float f, float f1) { ++ // PAIL: Access + rename please ++ public final void a(float f, float f1) { // CraftBukkit - protected to public + boolean flag = this.bo > 0.0F && this.bp > 0.0F; + + this.bo = f; |