Multiverse-Inventories compatibility disable

This commit is contained in:
Jascha Starke 2013-01-16 15:00:38 +01:00
parent 6856c6d95a
commit c85a541b92

View file

@ -75,6 +75,9 @@ public class Core extends JavaPlugin {
if (config.getStoreEnabled() && getServer().getPluginManager().isPluginEnabled("MultiInv")) { if (config.getStoreEnabled() && getServer().getPluginManager().isPluginEnabled("MultiInv")) {
warn(L("basic.conflict", "MultiInv", L("basic.feature.store"))); warn(L("basic.conflict", "MultiInv", L("basic.feature.store")));
config.setTempStoreEnabled(false); config.setTempStoreEnabled(false);
} else if (config.getStoreEnabled() && getServer().getPluginManager().isPluginEnabled("Multiverse-Inventories")) {
warn(L("basic.conflict", "Multiverse-Inventories", L("basic.feature.store")));
config.setTempStoreEnabled(false);
} }
if (config.getStoreEnabled()) { if (config.getStoreEnabled()) {
com.hookAuthInvs(); com.hookAuthInvs();