mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2025-01-02 14:38:19 +01:00
Merge pull request #1456 from mcmonkey4eva/master
( Patch for #1455 ) reload saves rather than reconstructing
This commit is contained in:
commit
b44a61a92f
@ -355,7 +355,7 @@ public class Citizens extends JavaPlugin implements CitizensPlugin {
|
|||||||
Skin.clearCache();
|
Skin.clearCache();
|
||||||
getServer().getPluginManager().callEvent(new CitizensPreReloadEvent());
|
getServer().getPluginManager().callEvent(new CitizensPreReloadEvent());
|
||||||
|
|
||||||
saves = createStorage(getDataFolder());
|
saves.reloadFromSource();
|
||||||
saves.loadInto(npcRegistry);
|
saves.loadInto(npcRegistry);
|
||||||
|
|
||||||
getServer().getPluginManager().callEvent(new CitizensReloadEvent());
|
getServer().getPluginManager().callEvent(new CitizensReloadEvent());
|
||||||
|
Loading…
Reference in New Issue
Block a user