Fixed stuff with Wilee's and Wild's changes

This commit is contained in:
Jerom van der Sar 2013-05-17 20:03:16 +02:00
parent ab9650dc54
commit d016e1ff08
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
package me.StevenLawson.TotalFreedomMod.Commands;
import me.StevenLawson.TotalFreedomMod.TFM_Util;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;

View File

@ -727,7 +727,7 @@ public class TFM_PlayerListener implements Listener
{
event.setMotd(ChatColor.RED + "You are banned!");
}
if (TotalFreedomMod.adminOnlyMode(event.getAddress().getHostAddress()))
if (TotalFreedomMod.adminOnlyMode)
{
event.setMotd(ChatColor.RED + "Server in AdminMode!");
}