mirror of
https://github.com/TheDeus-Group/TFM-4.3-Reloaded.git
synced 2024-08-21 05:11:46 +00:00
Fixed stuff with Wilee's and Wild's changes
This commit is contained in:
parent
ab9650dc54
commit
d016e1ff08
|
@ -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;
|
||||
|
|
|
@ -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!");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue