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:
KHobbits 2014-02-19 01:17:05 +00:00
parent 34599b7428
commit e409363426
6 changed files with 11 additions and 16 deletions

View file

@ -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()
{