mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-01-12 15:56:00 +08:00
Fixed Plan thinking Buycraft Extension was disabled
- Due to assumption that Enabled field existed Buycraft was left disabled Affects issues: - Fixed #1351
This commit is contained in:
parent
99885d2381
commit
43c3596cde
@ -63,7 +63,7 @@ public class ExtensionSettings {
|
||||
|
||||
Set<String> disabledPlugins = new HashSet<>();
|
||||
for (ConfigNode plugin : section.getChildren()) {
|
||||
if (!plugin.getBoolean("Enabled")) {
|
||||
if (plugin.contains("Enabled") && !plugin.getBoolean("Enabled")) {
|
||||
disabledPlugins.add(plugin.getKey(false));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user