scripts.remove(scriptName);
scripts.put(scriptName, loadScriptFromDir(new File(Main.getScriptsDir(), scriptName)));
}
public void loadScripts()
{
<BUG>if (Main.getSettings().isDebugMode())
{
Main.getMainLogger().log(Level.WARNING, "Loading scripts");

}</BUG>
File[] directories = scriptsDir.listFiles(new DirectoryFilter());

scripts.remove(scriptName);
scripts.put(scriptName, loadScriptFromDir(new File(Main.getScriptsDir(), scriptName)));
}
public void loadScripts()
{
Main.logDebugInfo(Level.WARNING, "Loading scripts");
File[] directories = scriptsDir.listFiles(new DirectoryFilter());
