Added a config option to disable the CraftingManager fallback. (#3415)

This commit is contained in:
yueh
2018-03-08 16:44:48 +01:00
committed by GitHub
parent 59af05aeb1
commit ccefb47581
3 changed files with 24 additions and 2 deletions
+3 -1
View File
@@ -213,7 +213,9 @@ public final class AEConfig extends Configuration implements IConfigurableObject
{
if( feature.isVisible() )
{
if( this.get( "Features." + feature.category(), feature.key(), feature.isEnabled() ).getBoolean( feature.isEnabled() ) )
final Property option = this.get( "Features." + feature.category(), feature.key(), feature.isEnabled(), feature.comment() );
if( option.getBoolean( feature.isEnabled() ) )
{
this.featureFlags.add( feature );
}