mirror of
https://github.com/TheDeus-Group/TFM-4.3-Reloaded.git
synced 2024-12-22 22:44:58 +00:00
.kickPlayer()
This commit is contained in:
parent
35bee2d9e8
commit
f0eb0f5d28
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ public class Command_updatetfm extends FreedomCommand {
|
|||
playerMsg("Updated TFM! Reloading...");
|
||||
Utilities.adminAction(sender.getName(), "Update successful, reloading TFM...", false);
|
||||
for (Player onlinePlayer : Bukkit.getOnlinePlayers()) {
|
||||
SynchronousUtil.playerKick(onlinePlayer, "Reloading TFM, please rejoin.");
|
||||
onlinePlayer.kickPlayer(ChatColor.RED + "Reloading TFM, please rejoin.");
|
||||
}
|
||||
|
||||
Bukkit.dispatchCommand(sender, "plugman reload TotalFreedomMod");
|
||||
|
|
Loading…
Reference in a new issue