Merge pull request #1456 from mcmonkey4eva/master

( Patch for #1455 ) reload saves rather than reconstructing
This commit is contained in:
Alex "mcmonkey" Goodwin 2018-03-23 03:25:42 -07:00 committed by GitHub
commit b44a61a92f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -355,7 +355,7 @@ public class Citizens extends JavaPlugin implements CitizensPlugin {
Skin.clearCache();
getServer().getPluginManager().callEvent(new CitizensPreReloadEvent());
saves = createStorage(getDataFolder());
saves.reloadFromSource();
saves.loadInto(npcRegistry);
getServer().getPluginManager().callEvent(new CitizensReloadEvent());