mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-01-08 17:38:20 +01:00
Actually use the force-enable-recipe option from the config
This commit is contained in:
parent
23d92fac63
commit
c06dda886d
@ -538,7 +538,7 @@ public class Settings implements net.ess3.api.ISettings {
|
||||
isCompassTowardsHomePerm = _isCompassTowardsHomePerm();
|
||||
isAllowWorldInBroadcastworld = _isAllowWorldInBroadcastworld();
|
||||
itemDbType = _getItemDbType();
|
||||
forceEnableRecipe = _isForceEnableRecipe();
|
||||
forceEnableRecipe = config.getBoolean("force-enable-recipe", false);
|
||||
}
|
||||
|
||||
private List<Material> itemSpawnBl = new ArrayList<Material>();
|
||||
@ -1482,12 +1482,8 @@ public class Settings implements net.ess3.api.ISettings {
|
||||
|
||||
private boolean forceEnableRecipe; // https://github.com/EssentialsX/Essentials/issues/1397
|
||||
|
||||
private boolean _isForceEnableRecipe() {
|
||||
return config.getBoolean("force-enable-recipe", false);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isForceEnableRecipe() {
|
||||
return false;
|
||||
return forceEnableRecipe;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user