This commit is contained in:
parent
c7b361b5c0
commit
2d25a6a1a5
@ -198,7 +198,7 @@ public class HerobrineEntity extends LivingEntity implements Monster {
|
||||
reset = true;
|
||||
List<? extends PlayerEntity> players = getEntityWorld().getPlayers();
|
||||
Collections.shuffle(players);
|
||||
PlayerentityPlayerentity nearest = getNearestPlayer();
|
||||
PlayerEntity nearest = getNearestPlayer();
|
||||
if (players.size() > 0 || nearest == null || nearest.distanceTo(this) >= HardcodedConfig.HEROBRINE_MAX_DISTANCE) {
|
||||
for (PlayerEntity player : players) {
|
||||
if (player.isAlive()) {
|
||||
|
Reference in New Issue
Block a user