Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void clearVillagers() {
- for(Villager villager:villagers){
- villager.teleport(new Location(this.getStartLocation().getWorld(),0,500,0));
- System.out.print("REMOVING");
- System.out.print(villager.getCustomName());
- villager.remove();
- }
- villagers.clear();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement