fix another derp, and un deprecate pulseproxy

This commit is contained in:
progwml6 committed 2014-07-02 21:03:30 -04:00
1 parent 5d78fe53d3
commit d4e3a1f0bc
2 files changed
+2 -12

No files matched your search

+2 -10
View File
@@ -14,8 +14,6 @@ public class ForgeCFG implements IConfiguration{
private final String confPath;
private final String description;
private Map<String, Boolean> modules;
/**
* Creates a new Configuration object.
*
@@ -37,14 +35,8 @@ public class ForgeCFG implements IConfiguration{
@Override
public boolean isModuleEnabled(PulseMeta meta) {
Boolean enabled = modules.get(meta.getId());
if (enabled == null) {
modules.put(meta.getId(), meta.isEnabled());
enabled = meta.isEnabled();
config.get(description, meta.getId(), meta.isEnabled(), meta.getDescription()).set(meta.isEnabled());
}
return enabled;
logger.warn("pulsar stuffs " + meta.getId());
return config.get(description, meta.getId(), meta.isEnabled(), meta.getDescription()).getBoolean(meta.isEnabled());
}
@Override
-2
View File
@@ -5,8 +5,6 @@ import java.lang.annotation.*;
/**
* Annotation to denote a field that should be populated by a side-specific proxy.
*
* @deprecated Use FML's @SidedProxy instead.
*
* @author Arkan <arkan@drakon.io>
*/
@Retention(RetentionPolicy.RUNTIME)