This commit is contained in:
Super_ 2020-07-17 00:40:10 -04:00
parent b8e5de2080
commit 0e63857ae0

View File

@ -209,8 +209,10 @@ public class Command_saconfig extends FreedomCommand
{
String oldName = admin.getName();
if (oldName != player.getName())
{
admin.setName(player.getName());
plugin.sql.updateAdminName(oldName, admin.getName());
}
admin.addIp(FUtil.getIp(player));
}