API change for bukkit parity

This commit is contained in:
Auxilor 2021-06-25 09:10:13 +01:00
parent a15a924565
commit fc40d21603

View File

@ -322,7 +322,7 @@ public abstract class EcoEnchant extends Enchantment implements Listener, Watche
@Override @Override
@Deprecated @Deprecated
public boolean isTreasure() { public boolean isTreasure() {
return false; return this.type.equals(EnchantmentType.SPECIAL);
} }
/** /**