mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-07-02 12:01:43 +00:00
Don't allow old UUID's to accidentally overwrite current UUID for user mapping.
Add some extra logging and uuid debug.
This commit is contained in:
parent
3887fdd47d
commit
2215b0f53f
5 changed files with 59 additions and 31 deletions
|
@ -64,7 +64,7 @@ public class Economy
|
|||
npcConfig.setProperty("lastAccountName", name);
|
||||
npcConfig.setProperty("money", ess.getSettings().getStartingBalance());
|
||||
npcConfig.forceSave();
|
||||
ess.getUserMap().trackUUID(npcUUID, name);
|
||||
ess.getUserMap().trackUUID(npcUUID, name, true);
|
||||
}
|
||||
|
||||
private static void deleteNPC(String name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue