Minor changes

This commit is contained in:
Blackvein 2014-07-22 14:00:28 -07:00
parent 75ab54a82e
commit 453cf15f8f
2 changed files with 5 additions and 3 deletions

View File

@ -2071,6 +2071,8 @@ public class Quester {
} }
data.set("lastKnownName", getPlayer().getName());
return data; return data;
} }

View File

@ -514,6 +514,7 @@ public class Quests extends JavaPlugin implements ConversationAbandonedListener,
File[] modules = f.listFiles(); File[] modules = f.listFiles();
for (File module : modules) { for (File module : modules) {
if(module.isDirectory() == false && module.getName().endsWith(".jar"))
loadModule(module); loadModule(module);
} }
@ -1415,10 +1416,9 @@ public class Quests extends JavaPlugin implements ConversationAbandonedListener,
questsEditor(cs); questsEditor(cs);
} else if (args[0].equalsIgnoreCase(Lang.get("COMMAND_EVENTS"))) { } else if (args[0].equalsIgnoreCase(Lang.get("COMMAND_EVENTS_EDITOR"))) {
questsEvents(cs); questsEvents(cs);
} else if (args[0].equalsIgnoreCase(Lang.get("COMMAND_INFO"))) { } else if (args[0].equalsIgnoreCase(Lang.get("COMMAND_INFO"))) {
questsInfo(cs); questsInfo(cs);