Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void spawnpredador() {
- Bukkit.getScheduler().scheduleSyncDelayedTask(this, new Runnable() {
- public void run() {
- for (World w : Bukkit.getWorlds()) {
- for (Entity e : w.getEntities()) {
- if (e.getType() == EntityType.WITHER) {
- if (e.getCustomName().equalsIgnoreCase(getConfig().getString("nome").replace("&", "§"))) e.remove();
- }
- }
- predador();
- return;
- }
- }
- },10*20l);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement