Skip to content

Commit 23f14bc

Browse files
committed
If a player already exists in the usermap, don't replace it with a eco npc.
1 parent c829a32 commit 23f14bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Essentials/src/com/earth2me/essentials/api/Economy.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ private static void createNPCFile(String name)
6464
npcConfig.setProperty("lastAccountName", name);
6565
npcConfig.setProperty("money", ess.getSettings().getStartingBalance());
6666
npcConfig.forceSave();
67-
ess.getUserMap().trackUUID(npcUUID, name, true);
67+
ess.getUserMap().trackUUID(npcUUID, name, false);
6868
}
6969

7070
private static void deleteNPC(String name)

0 commit comments

Comments
 (0)