mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-11 09:05:01 +02:00
Stop delayed writes from reversing user reset.
This commit is contained in:
@@ -49,6 +49,7 @@ public abstract class UserData extends PlayerExtension implements IConf
|
|||||||
|
|
||||||
public final void reset()
|
public final void reset()
|
||||||
{
|
{
|
||||||
|
config.forceSave();
|
||||||
config.getFile().delete();
|
config.getFile().delete();
|
||||||
ess.getUserMap().removeUser(this.getBase().getName());
|
ess.getUserMap().removeUser(this.getBase().getName());
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user