Skip to content

Commit

Permalink
Fix script reloading bug
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Sep 10, 2013
1 parent b401a18 commit 975aafc
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -51,6 +51,9 @@ public static boolean containsScript(String id, Class scriptContainerType) {
}

public static void _buildCoreYamlScriptContainers(FileConfiguration yamlScripts) {
scriptContainers.clear();
WorldScriptHelper.world_scripts.clear();
ItemScriptHelper.item_scripts.clear();
// Get a set of key names in concantenated Denizen Scripts
Set<String> scripts = yamlScripts.getKeys(false);
// Iterate through set
Expand Down

0 comments on commit 975aafc

Please sign in to comment.