This commit is contained in:
Lemon
2017-10-13 23:38:05 +05:00
committed by GitHub
parent ed2f15cc54
commit d878fd2458
5 changed files with 238 additions and 35 deletions

View File

@ -24,6 +24,21 @@ public class FSync
}.runTask(plugin);
}
public static void playerMsg(final CommandSender sender, final String message)
{
final TotalFreedomMod plugin = TotalFreedomMod.plugin();
new BukkitRunnable()
{
@Override
public void run()
{
sender.sendMessage(message);
}
}.runTask(plugin);
}
public static void playerKick(final Player player, final String reason)
{
final TotalFreedomMod plugin = TotalFreedomMod.plugin();