From d3c54c1e2be7fb745ce5451a591ad079187531e9 Mon Sep 17 00:00:00 2001 From: Sollace Date: Sat, 2 Sep 2023 18:16:36 +0100 Subject: [PATCH] Fixed non-unicorn players wearing amulets that grant magical abilities still not able to equip gemstones by right-clicking --- .../java/com/minelittlepony/unicopia/item/GemstoneItem.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/minelittlepony/unicopia/item/GemstoneItem.java b/src/main/java/com/minelittlepony/unicopia/item/GemstoneItem.java index d9d127c1..62160c86 100644 --- a/src/main/java/com/minelittlepony/unicopia/item/GemstoneItem.java +++ b/src/main/java/com/minelittlepony/unicopia/item/GemstoneItem.java @@ -40,7 +40,7 @@ public class GemstoneItem extends Item implements MultiItem, EnchantableItem { ItemStack stack = user.getStackInHand(hand); PlayerCharmTracker charms = Pony.of(user).getCharms(); - if (!Pony.of(user).getObservedSpecies().canCast()) { + if (!Pony.of(user).getCompositeRace().canCast()) { return result; }