mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-27 01:05:38 +00:00
lol
This commit is contained in:
parent
b8e5de2080
commit
0e63857ae0
@ -209,8 +209,10 @@ public class Command_saconfig extends FreedomCommand
|
|||||||
{
|
{
|
||||||
String oldName = admin.getName();
|
String oldName = admin.getName();
|
||||||
if (oldName != player.getName())
|
if (oldName != player.getName())
|
||||||
admin.setName(player.getName());
|
{
|
||||||
plugin.sql.updateAdminName(oldName, admin.getName());
|
admin.setName(player.getName());
|
||||||
|
plugin.sql.updateAdminName(oldName, admin.getName());
|
||||||
|
}
|
||||||
admin.addIp(FUtil.getIp(player));
|
admin.addIp(FUtil.getIp(player));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user