mirror of
https://github.com/songoda/SongodaCore.git
synced 2024-11-23 10:35:18 +01:00
Remove unused static Random in BBaseSpawnerImpl for Spiot 1.19
This commit is contained in:
parent
c50b691c3c
commit
c33987162e
@ -26,14 +26,11 @@ import org.bukkit.event.entity.CreatureSpawnEvent;
|
||||
|
||||
import java.util.Iterator;
|
||||
import java.util.Optional;
|
||||
import java.util.Random;
|
||||
|
||||
public class BBaseSpawnerImpl implements BBaseSpawner {
|
||||
private final CreatureSpawner bukkitSpawner;
|
||||
private final BaseSpawner spawner;
|
||||
|
||||
private static final Random spawnerRandom = new Random(); // Field random in BaseSpawner is private - We use one random for *all* our spawners (should be fine, right?)
|
||||
|
||||
public BBaseSpawnerImpl(CreatureSpawner bukkitSpawner, BaseSpawner spawner) {
|
||||
this.bukkitSpawner = bukkitSpawner;
|
||||
this.spawner = spawner;
|
||||
|
Loading…
Reference in New Issue
Block a user