Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-16 21:10:17 +01:00
Fix missed rename making withers too cheaty. Fixes BUKKIT-2972
Dieser Commit ist enthalten in:
Ursprung
58636c2dd8
Commit
7ef9adc04e
@ -227,7 +227,7 @@ public class EntityWither extends EntityMonster implements IRangedEntity {
|
|||||||
for (int i1 = 0; i1 < 10 && !list.isEmpty(); ++i1) {
|
for (int i1 = 0; i1 < 10 && !list.isEmpty(); ++i1) {
|
||||||
EntityLiving entityliving = (EntityLiving) list.get(this.random.nextInt(list.size()));
|
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 (entityliving instanceof EntityHuman) {
|
||||||
if (!((EntityHuman) entityliving).abilities.isInvulnerable) {
|
if (!((EntityHuman) entityliving).abilities.isInvulnerable) {
|
||||||
this.c(i, entityliving.id);
|
this.c(i, entityliving.id);
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren