mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-12 04:20:41 +00:00
If a player already exists in the usermap, don't replace it with a eco npc.
This commit is contained in:
parent
c829a32555
commit
23f14bc2d5
1 changed files with 1 additions and 1 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, true);
|
||||
ess.getUserMap().trackUUID(npcUUID, name, false);
|
||||
}
|
||||
|
||||
private static void deleteNPC(String name)
|
||||
|
|
Loading…
Reference in a new issue