From 42812be4c56255887ac8f5598c1c3ba045ba5a3b Mon Sep 17 00:00:00 2001 From: Wilee999 Date: Wed, 15 Jan 2014 13:45:28 -0800 Subject: [PATCH] there --- .../TotalFreedomMod/Commands/Command_fr.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/me/StevenLawson/TotalFreedomMod/Commands/Command_fr.java b/src/me/StevenLawson/TotalFreedomMod/Commands/Command_fr.java index 5baab3b4..7e36d719 100644 --- a/src/me/StevenLawson/TotalFreedomMod/Commands/Command_fr.java +++ b/src/me/StevenLawson/TotalFreedomMod/Commands/Command_fr.java @@ -42,12 +42,12 @@ public class Command_fr extends TFM_Command }.runTaskLater(plugin, 20L * 60L * 5L); playerMsg("Players are now frozen."); - for (Player p : Bukkit.getOnlinePlayers()) + for (Player player : Bukkit.getOnlinePlayers()) { - if (!TFM_SuperadminList.isUserSuperadmin(p)) - { - p.sendMessage(ChatColor.RED + "You have been frozen due to rule breaker(s), you will be unfrozen very soon."); - } + if (!TFM_SuperadminList.isUserSuperadmin(player)) + { + TFM_Util.playerMsg(player, "You have been frozen due to rule breaker(s), you will be unfrozen very soon.", ChatColor.RED); + } } } else