diff --git a/src/me/StevenLawson/TotalFreedomMod/Commands/Command_saconfig.java b/src/me/StevenLawson/TotalFreedomMod/Commands/Command_saconfig.java index 015e8ed..1f679a8 100644 --- a/src/me/StevenLawson/TotalFreedomMod/Commands/Command_saconfig.java +++ b/src/me/StevenLawson/TotalFreedomMod/Commands/Command_saconfig.java @@ -57,6 +57,11 @@ public class Command_saconfig extends TFM_Command { final TFM_Admin admin = TFM_AdminList.getEntry(sender_p); + if (admin == null) { + playerMsg("Could not find your admin entry! Please notify a developer.", ChatColor.RED); + return true; + } + final String ip = TFM_Util.getIp(sender_p); if (args.length == 1)