mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-11 11:49:12 +00:00
Actually use the force-enable-recipe option from the config
This commit is contained in:
parent
23d92fac63
commit
c06dda886d
1 changed files with 2 additions and 6 deletions
|
@ -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 a new issue