fixed bloodmoon hordes for players with deactivated setting
This commit is contained in:
@@ -187,6 +187,7 @@ public class Bloodmoon extends Appliance {
|
||||
|
||||
public void spawnRandomHorde(Player player) {
|
||||
if(!this.hordesEnabled) return;
|
||||
if(!this.getBloodmoonSetting(player)) return;
|
||||
if(!player.getGameMode().equals(GameMode.SURVIVAL)) return;
|
||||
|
||||
EntityType hordeEntityType = this.hordeMobList.get(this.random.nextInt(this.hordeMobList.size()));
|
||||
|
||||
Reference in New Issue
Block a user