forked from Upstream/mmocore
Removed useless quest module
This commit is contained in:
parent
4935406a38
commit
ce17a1f577
@ -186,10 +186,6 @@ public class MMOCore extends JavaPlugin {
|
||||
// Checks if the server runs with Bungee
|
||||
hasBungee = SpigotConfig.bungee & !Bukkit.getServer().getOnlineMode();
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* Resource regeneration. Must check if entity is dead otherwise regen will make
|
||||
* the 'respawn' button glitched plus HURT entity effect bug
|
||||
@ -224,17 +220,6 @@ public class MMOCore extends JavaPlugin {
|
||||
if (getConfig().getBoolean("vanilla-exp-redirection.enabled"))
|
||||
Bukkit.getPluginManager().registerEvents(new RedirectVanillaExp(getConfig().getDouble("vanilla-exp-redirection.ratio")), this);
|
||||
|
||||
// Load quest module
|
||||
try {
|
||||
String questPluginName = UtilityMethods.enumName(getConfig().getString("quest-plugin"));
|
||||
PartyModuleType moduleType = PartyModuleType.valueOf(questPluginName);
|
||||
Validate.isTrue(moduleType.isValid(), "Plugin '" + moduleType.name() + "' is not installed");
|
||||
partyModule = moduleType.provideModule();
|
||||
} catch (RuntimeException exception) {
|
||||
getLogger().log(Level.WARNING, "Could not initialize quest module: " + exception.getMessage());
|
||||
partyModule = new MMOCorePartyModule();
|
||||
}
|
||||
|
||||
// Load party module
|
||||
try {
|
||||
String partyPluginName = UtilityMethods.enumName(getConfig().getString("party-plugin"));
|
||||
|
@ -59,14 +59,6 @@ protect-custom-mine: false
|
||||
# - mcmmo
|
||||
party-plugin: mmocore
|
||||
|
||||
# Edit the plugin handling parties here.
|
||||
# Supported values (just copy and paste):
|
||||
# - mmocore
|
||||
# - beauty_quest
|
||||
# - quest_creator
|
||||
# - quests
|
||||
quest-plugin: mmocore
|
||||
|
||||
# Edit the plugin handling guilds here.
|
||||
# Supported values (just copy and paste):
|
||||
# - mmocore
|
||||
|
Loading…
Reference in New Issue
Block a user