If a player already exists in the usermap, don't replace it with a eco npc.

This commit is contained in:
KHobbits 2014-07-19 18:04:35 +01:00
parent c829a32555
commit 23f14bc2d5

View File

@ -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)