Removed unnecessary boolean literals.

This commit is contained in:
MobiusDevelopment
2021-11-02 17:37:29 +00:00
parent 79e4b4024a
commit 0b5708fd83
26 changed files with 54 additions and 54 deletions

View File

@@ -653,7 +653,7 @@ public abstract class Item extends ListenersContainer implements IIdentifiable
*/
public boolean isEnchantable()
{
return Arrays.binarySearch(Config.ENCHANT_BLACKLIST, _itemId) < 0 ? _enchantable : false;
return (Arrays.binarySearch(Config.ENCHANT_BLACKLIST, _itemId) < 0) && _enchantable;
}
/**