Jak sprawić, by wtyczka czekała
Bukkit.getScheduler().runTaskLater(plugin, () -> {
// code
}, 20L); // amount to wait in ticks , 20 ticks = 1 second
Wide-eyed Wryneck
Bukkit.getScheduler().runTaskLater(plugin, () -> {
// code
}, 20L); // amount to wait in ticks , 20 ticks = 1 second