summaryrefslogtreecommitdiffstats
path: root/src/main/java/net
diff options
context:
space:
mode:
authorTravis Watkins <amaranth@ubuntu.com>2012-11-18 15:27:15 -0600
committerTravis Watkins <amaranth@ubuntu.com>2012-11-18 16:14:08 -0600
commit7ef9adc04e6bb318c7de1a738868b8fe91b35ca7 (patch)
treeaef2ffa9a18674df3904451058b3070737376688 /src/main/java/net
parent58636c2dd8e756f3c7fa88be07fe1a692c18fa42 (diff)
downloadcraftbukkit-7ef9adc04e6bb318c7de1a738868b8fe91b35ca7.tar
craftbukkit-7ef9adc04e6bb318c7de1a738868b8fe91b35ca7.tar.gz
craftbukkit-7ef9adc04e6bb318c7de1a738868b8fe91b35ca7.tar.lz
craftbukkit-7ef9adc04e6bb318c7de1a738868b8fe91b35ca7.tar.xz
craftbukkit-7ef9adc04e6bb318c7de1a738868b8fe91b35ca7.zip
Fix missed rename making withers too cheaty. Fixes BUKKIT-2972
Diffstat (limited to 'src/main/java/net')
-rw-r--r--src/main/java/net/minecraft/server/EntityWither.java2
1 files changed, 1 insertions, 1 deletions
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);