mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2024-11-26 15:45:12 +01:00
API change for bukkit parity
This commit is contained in:
parent
a15a924565
commit
fc40d21603
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user