summaryrefslogtreecommitdiffstats
path: root/nms-patches/EntityGuardian.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/EntityGuardian.patch')
-rw-r--r--nms-patches/EntityGuardian.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/nms-patches/EntityGuardian.patch b/nms-patches/EntityGuardian.patch
new file mode 100644
index 00000000..8c419e56
--- /dev/null
+++ b/nms-patches/EntityGuardian.patch
@@ -0,0 +1,21 @@
+--- ../work/decompile-8eb82bde//net/minecraft/server/EntityGuardian.java Thu Dec 11 13:57:14 2014
++++ src/main/java/net/minecraft/server/EntityGuardian.java Thu Dec 11 13:55:14 2014
+@@ -14,7 +14,7 @@
+ private EntityLiving bn;
+ private int bo;
+ private boolean bp;
+- private PathfinderGoalRandomStroll bq;
++ public PathfinderGoalRandomStroll bq; // CraftBukkit - private to public
+
+ public EntityGuardian(World world) {
+ super(world);
+@@ -35,7 +35,8 @@
+ this.c = this.b = this.random.nextFloat();
+ }
+
+- protected void aW() {
++ // PAIL: Access + rename please
++ public void aW() { // CraftBukkit - protected to public
+ super.aW();
+ this.getAttributeInstance(GenericAttributes.e).setValue(6.0D);
+ this.getAttributeInstance(GenericAttributes.d).setValue(0.5D);