mirror of
https://github.com/TheDeus-Group/TFM-4.3-Reloaded.git
synced 2024-12-22 22:34:58 +00:00
Work around /saconfig clearme bug. Fixes #629
This commit is contained in:
parent
901a327b1e
commit
f2dc46d4ef
1 changed files with 5 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue