mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-05 06:07:54 +02:00
If a player already exists in the usermap, don't replace it with a eco npc.
This commit is contained in:
@@ -64,7 +64,7 @@ public class Economy
|
|||||||
npcConfig.setProperty("lastAccountName", name);
|
npcConfig.setProperty("lastAccountName", name);
|
||||||
npcConfig.setProperty("money", ess.getSettings().getStartingBalance());
|
npcConfig.setProperty("money", ess.getSettings().getStartingBalance());
|
||||||
npcConfig.forceSave();
|
npcConfig.forceSave();
|
||||||
ess.getUserMap().trackUUID(npcUUID, name, true);
|
ess.getUserMap().trackUUID(npcUUID, name, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void deleteNPC(String name)
|
private static void deleteNPC(String name)
|
||||||
|
Reference in New Issue
Block a user