mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-16 14:14:46 +00:00
Remove Static from CachedPlayerData so it doesnt cross through worlds
This commit is contained in:
1 parent
3dc99dcf2c
commit
d545e4ba89
2 files changed
+5
-5
No files matched your search
@@ -220,7 +220,7 @@ public class PlayerData implements IExtendedEntityProperties, IPlayerData {
|
||||
filename = uuid + ".json";
|
||||
}
|
||||
PlayerDataController.instance.putPlayerMap(playername, uuid);
|
||||
PlayerDataController.putPlayerDataCache(uuid, this);
|
||||
PlayerDataController.instance.putPlayerDataCache(uuid, this);
|
||||
CustomNPCsThreader.playerDataThread.execute(() -> {
|
||||
try {
|
||||
File saveDir = PlayerDataController.instance.getSaveDir();
|
||||
|
||||
Reference in new issue
Block a user