Reverting Easter #28
@ -42,9 +42,6 @@ public class RabbitListener implements Listener {
|
|||||||
World world = Bukkit.getWorlds().get(0);
|
World world = Bukkit.getWorlds().get(0);
|
||||||
spreadRabbits(250, world);
|
spreadRabbits(250, world);
|
||||||
Bukkit.getScheduler().runTaskTimer(LobbySystem.getInstance(), () -> {
|
Bukkit.getScheduler().runTaskTimer(LobbySystem.getInstance(), () -> {
|
||||||
if(Bukkit.getOnlinePlayers().isEmpty()) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
Rabbit rabbit = world.getEntitiesByClass(Rabbit.class).iterator().next();
|
Rabbit rabbit = world.getEntitiesByClass(Rabbit.class).iterator().next();
|
||||||
world.spawn(rabbit.getLocation(), Firework.class, firework -> {
|
world.spawn(rabbit.getLocation(), Firework.class, firework -> {
|
||||||
FireworkMeta meta = firework.getFireworkMeta();
|
FireworkMeta meta = firework.getFireworkMeta();
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren