Skip to content

Commit

Permalink
Work around /saconfig clearme bug. Fixes #629
Browse files Browse the repository at this point in the history
  • Loading branch information
JeromSar committed May 30, 2015
1 parent 901a327 commit f2dc46d
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ public boolean run(CommandSender sender, Player sender_p, Command cmd, String co
{
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)
Expand Down

0 comments on commit f2dc46d

Please sign in to comment.