mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-27 15:17:59 +01:00
Fixed non-unicorn players wearing amulets that grant magical abilities still not able to equip gemstones by right-clicking
This commit is contained in:
parent
0d7df76c9c
commit
d3c54c1e2b
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue