mirror of
https://github.com/GTNewHorizons/Mantle.git
synced 2026-11-28 15:36:13 +00:00
update to latest pulsar closes #30
This commit is contained in:
1 parent
3b1b56b41a
commit
d7b6343353
14 files changed
+205
-213
No files matched your search
Regular → Executable
+1
-1
@@ -50,7 +50,7 @@ public class Configuration implements IConfiguration {
|
||||
public boolean isModuleEnabled(PulseMeta meta) {
|
||||
ConfigEntry entry = modules.get(meta.getId());
|
||||
if (entry == null) {
|
||||
modules.put(meta.getId(), new ConfigEntry(meta.isEnabled(), meta.getDescription()));
|
||||
modules.put(meta.getId(), new ConfigEntry(meta.isDefaultEnabled(), meta.getDescription()));
|
||||
return meta.isEnabled();
|
||||
} else {
|
||||
return entry.getEnabled();
|
||||
|
||||
Reference in new issue
Block a user