mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-20 21:32:19 +00:00
Clear PlayerData Cache on Server Start
This commit is contained in:
1 parent
d545e4ba89
commit
772f5a999d
2 files changed
+7
No files matched your search
@@ -206,6 +206,7 @@ public class CustomNpcs {
|
||||
ScriptController.Instance.loadPlayerScripts();
|
||||
ScriptController.HasStart = false;
|
||||
NpcAPI.clearCache();
|
||||
PlayerDataController.instance.clearCache();
|
||||
|
||||
Set<String> names = Block.blockRegistry.getKeys();
|
||||
for(String name : names){
|
||||
|
||||
Reference in new issue
Block a user