Fixed non-unicorn players wearing amulets that grant magical abilities still not able to equip gemstones by right-clicking

This commit is contained in:
Sollace 2023-09-02 18:16:36 +01:00
parent 0d7df76c9c
commit d3c54c1e2b
No known key found for this signature in database
GPG key ID: E52FACE7B5C773DB

View file

@ -40,7 +40,7 @@ public class GemstoneItem extends Item implements MultiItem, EnchantableItem {
ItemStack stack = user.getStackInHand(hand); ItemStack stack = user.getStackInHand(hand);
PlayerCharmTracker charms = Pony.of(user).getCharms(); PlayerCharmTracker charms = Pony.of(user).getCharms();
if (!Pony.of(user).getObservedSpecies().canCast()) { if (!Pony.of(user).getCompositeRace().canCast()) {
return result; return result;
} }