mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-22 10:36:09 +01:00
Minor changes
This commit is contained in:
parent
75ab54a82e
commit
453cf15f8f
@ -2070,6 +2070,8 @@ public class Quester {
|
||||
data.set("amountsCompleted", list2);
|
||||
|
||||
}
|
||||
|
||||
data.set("lastKnownName", getPlayer().getName());
|
||||
|
||||
return data;
|
||||
|
||||
|
@ -514,7 +514,8 @@ public class Quests extends JavaPlugin implements ConversationAbandonedListener,
|
||||
File[] modules = f.listFiles();
|
||||
for (File module : modules) {
|
||||
|
||||
loadModule(module);
|
||||
if(module.isDirectory() == false && module.getName().endsWith(".jar"))
|
||||
loadModule(module);
|
||||
|
||||
}
|
||||
|
||||
@ -1415,10 +1416,9 @@ public class Quests extends JavaPlugin implements ConversationAbandonedListener,
|
||||
|
||||
questsEditor(cs);
|
||||
|
||||
} else if (args[0].equalsIgnoreCase(Lang.get("COMMAND_EVENTS"))) {
|
||||
} else if (args[0].equalsIgnoreCase(Lang.get("COMMAND_EVENTS_EDITOR"))) {
|
||||
|
||||
questsEvents(cs);
|
||||
|
||||
} else if (args[0].equalsIgnoreCase(Lang.get("COMMAND_INFO"))) {
|
||||
|
||||
questsInfo(cs);
|
||||
|
Loading…
Reference in New Issue
Block a user