mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-07-25 06:53:37 +00:00
Alternative implementation of unsafe enchant blocking for signs.
Permission: essentials.signs.enchant.allowunsafe - required to add unsafe enchants using enchant signs.
This reverts commit 3f2c2aadbb
.
This commit is contained in:
parent
34599b7428
commit
e409363426
6 changed files with 11 additions and 16 deletions
|
@ -944,12 +944,6 @@ public class Settings implements net.ess3.api.ISettings
|
|||
return config.getBoolean("repair-enchanted", true);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean allowUnsafeEnchantmentsInKits()
|
||||
{
|
||||
return config.getBoolean("unsafe-enchantments-in-kits", config.getBoolean("unsafe-enchantments", false));
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean allowUnsafeEnchantments()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue