From 7ef9adc04e6bb318c7de1a738868b8fe91b35ca7 Mon Sep 17 00:00:00 2001 From: Travis Watkins Date: Sun, 18 Nov 2012 15:27:15 -0600 Subject: Fix missed rename making withers too cheaty. Fixes BUKKIT-2972 --- src/main/java/net/minecraft/server/EntityWither.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/net/minecraft/server') diff --git a/src/main/java/net/minecraft/server/EntityWither.java b/src/main/java/net/minecraft/server/EntityWither.java index ea709e91..c13d2df2 100644 --- a/src/main/java/net/minecraft/server/EntityWither.java +++ b/src/main/java/net/minecraft/server/EntityWither.java @@ -227,7 +227,7 @@ public class EntityWither extends EntityMonster implements IRangedEntity { for (int i1 = 0; i1 < 10 && !list.isEmpty(); ++i1) { EntityLiving entityliving = (EntityLiving) list.get(this.random.nextInt(list.size())); - if (entityliving != this && entityliving.isAlive() && this.m(entityliving)) { + if (entityliving != this && entityliving.isAlive() && this.n(entityliving)) { if (entityliving instanceof EntityHuman) { if (!((EntityHuman) entityliving).abilities.isInvulnerable) { this.c(i, entityliving.id); -- cgit v1.2.3