예제 #1
0
 @Override
 public void handleKick(UUID uuid, C c) {
   Player player = Bukkit.getPlayer(uuid);
   if (player != null && player.isOnline()) {
     MainUtil.sendMessage(BukkitUtil.getPlayer(player), c);
     player.teleport(player.getWorld().getSpawnLocation());
   }
 }
예제 #2
0
 @Override
 public void unregister(PlotPlayer player) {
   BukkitUtil.removePlayer(player.getName());
 }