mirror of
https://github.com/ChestShop-authors/ChestShop-3.git
synced 2024-11-23 10:35:15 +01:00
Check if dependency is enabled (Fixes #181)
This commit is contained in:
parent
727f49fc28
commit
b17a471c21
@ -57,7 +57,7 @@ public class Dependencies {
|
||||
for (String dependency : ChestShop.getDependencies()) {
|
||||
Plugin plugin = pluginManager.getPlugin(dependency);
|
||||
|
||||
if (plugin != null) {
|
||||
if (plugin != null && plugin.isEnabled()) {
|
||||
loadPlugin(dependency, plugin);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user