Archiviert
13
0

Revert "Fixing Rabbits"

This reverts commit 91f58029
Dieser Commit ist enthalten in:
Chaoscaot 2021-04-06 01:53:54 +02:00
Ursprung 24e9214414
Commit e63e48a2a7

Datei anzeigen

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