diff options
author | feildmaster <admin@feildmaster.com> | 2013-01-17 03:28:44 -0600 |
---|---|---|
committer | feildmaster <admin@feildmaster.com> | 2013-01-17 03:50:24 -0600 |
commit | e59af9908b5c6418664a8676e9ef13d9c8edc90e (patch) | |
tree | e48bc62a3556af51cf375f587100019b79d814cc /src/main/java/net/minecraft/server/EntityWitch.java | |
parent | 315127782a86659d8ac353408ce385e0b8ee9ddb (diff) | |
download | craftbukkit-e59af9908b5c6418664a8676e9ef13d9c8edc90e.tar craftbukkit-e59af9908b5c6418664a8676e9ef13d9c8edc90e.tar.gz craftbukkit-e59af9908b5c6418664a8676e9ef13d9c8edc90e.tar.lz craftbukkit-e59af9908b5c6418664a8676e9ef13d9c8edc90e.tar.xz craftbukkit-e59af9908b5c6418664a8676e9ef13d9c8edc90e.zip |
Update CraftBukkit to Minecraft 1.4.7
Diffstat (limited to 'src/main/java/net/minecraft/server/EntityWitch.java')
-rw-r--r-- | src/main/java/net/minecraft/server/EntityWitch.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/net/minecraft/server/EntityWitch.java b/src/main/java/net/minecraft/server/EntityWitch.java index 36154225..daa9845e 100644 --- a/src/main/java/net/minecraft/server/EntityWitch.java +++ b/src/main/java/net/minecraft/server/EntityWitch.java @@ -83,9 +83,9 @@ public class EntityWitch extends EntityMonster implements IRangedEntity { short1 = 16307; } else if (this.random.nextFloat() < 0.05F && this.health < this.maxHealth) { // CraftBukkit - this.getMaxHealth -> this.maxHealth short1 = 16341; - } else if (this.random.nextFloat() < 0.25F && this.aG() != null && !this.hasEffect(MobEffectList.FASTER_MOVEMENT) && this.aG().e(this) > 121.0D) { + } else if (this.random.nextFloat() < 0.25F && this.getGoalTarget() != null && !this.hasEffect(MobEffectList.FASTER_MOVEMENT) && this.getGoalTarget().e(this) > 121.0D) { short1 = 16274; - } else if (this.random.nextFloat() < 0.25F && this.aG() != null && !this.hasEffect(MobEffectList.FASTER_MOVEMENT) && this.aG().e(this) > 121.0D) { + } else if (this.random.nextFloat() < 0.25F && this.getGoalTarget() != null && !this.hasEffect(MobEffectList.FASTER_MOVEMENT) && this.getGoalTarget().e(this) > 121.0D) { short1 = 16274; } |