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.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/nms-patches/EntityGuardian.patch b/nms-patches/EntityGuardian.patch
index b8f55e35..db8c4f35 100644
--- a/nms-patches/EntityGuardian.patch
+++ b/nms-patches/EntityGuardian.patch
@@ -1,11 +1,11 @@
---- /home/matt/mc-dev-private//net/minecraft/server/EntityGuardian.java 2015-03-19 21:25:54.134142162 +0000
-+++ src/main/java/net/minecraft/server/EntityGuardian.java 2015-03-19 21:25:54.134142162 +0000
+--- /home/matt/mc-dev-private//net/minecraft/server/EntityGuardian.java 2015-05-05 21:41:20.516641090 +0100
++++ src/main/java/net/minecraft/server/EntityGuardian.java 2015-05-05 21:41:20.516641090 +0100
@@ -14,7 +14,7 @@
private EntityLiving bo;
private int bp;
private boolean bq;
-- private PathfinderGoalRandomStroll br;
-+ public PathfinderGoalRandomStroll br; // CraftBukkit - public, PAIL: Rename goalRandomStroll
+- private PathfinderGoalRandomStroll goalRandomStroll;
++ public PathfinderGoalRandomStroll goalRandomStroll; // CraftBukkit - public
public EntityGuardian(World world) {
super(world);
@@ -16,8 +16,8 @@
- protected void initAttributes() {
+ public void initAttributes() { // CraftBukkit - public
super.initAttributes();
- this.getAttributeInstance(GenericAttributes.e).setValue(6.0D);
- this.getAttributeInstance(GenericAttributes.d).setValue(0.5D);
+ 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;
}