mirror of
https://github.com/TheDeus-Group/TFM-4.3-Reloaded.git
synced 2024-11-01 03:39:19 +00:00
Work around /saconfig clearme bug. Fixes #629
This commit is contained in:
parent
901a327b1e
commit
f2dc46d4ef
|
@ -57,6 +57,11 @@ public class Command_saconfig extends TFM_Command
|
||||||
{
|
{
|
||||||
final TFM_Admin admin = TFM_AdminList.getEntry(sender_p);
|
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);
|
final String ip = TFM_Util.getIp(sender_p);
|
||||||
|
|
||||||
if (args.length == 1)
|
if (args.length == 1)
|
||||||
|
|
Loading…
Reference in a new issue