Reworked @Config to support any phase loading
This commit is contained in:
parent
7669547a75
commit
a986e6457d
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ public class ResonantInduction
|
||||||
@ForgeSubscribe
|
@ForgeSubscribe
|
||||||
public void configAnnotationAdded(ConfigAnnotationEvent event)
|
public void configAnnotationAdded(ConfigAnnotationEvent event)
|
||||||
{
|
{
|
||||||
if (event.sourceClass.startsWith(Settings.DOMAIN))
|
if (event.sourceClass.getName().startsWith(Settings.DOMAIN))
|
||||||
{
|
{
|
||||||
ConfigHandler.handleClass(event.sourceClass, Settings.CONFIGURATION);
|
ConfigHandler.handleClass(event.sourceClass, Settings.CONFIGURATION);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue