mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-27 01:05:38 +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 New Issue
Block a user