merged automatic start with hordes per player
This commit is contained in:
		@@ -88,7 +88,6 @@ public class Bloodmoon extends Appliance {
 | 
			
		||||
        EntityType.SPIDER
 | 
			
		||||
    );
 | 
			
		||||
    private final Map<Player, @Nullable BukkitTask> hordeSpawnTasks = new HashMap<>();
 | 
			
		||||
    private @Nullable BukkitTask hordeSpawnTask = null;
 | 
			
		||||
    public final int bloodmoonLength = 12000;
 | 
			
		||||
    public final int ticksPerDay = 24000;
 | 
			
		||||
    private final int bloodmoonFreeDaysAtStart = 3;
 | 
			
		||||
@@ -149,7 +148,7 @@ public class Bloodmoon extends Appliance {
 | 
			
		||||
                () -> {
 | 
			
		||||
                    if(!this.bloodmoonIsActive()) return;
 | 
			
		||||
                    this.spawnRandomHorde();
 | 
			
		||||
                    this.startHordeSpawning(this.getRandomHordeSpawnDelay());
 | 
			
		||||
                    this.startHordeSpawning(this.getRandomHordeSpawnDelay(), player);
 | 
			
		||||
                },
 | 
			
		||||
                delay
 | 
			
		||||
        );
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user