mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-29 19:52:55 +01:00
Fix missed rename making withers too cheaty. Fixes BUKKIT-2972
This commit is contained in:
parent
58636c2dd8
commit
7ef9adc04e
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue