mirror of
https://gitlab.com/phoenix-dvpmt/mmoitems.git
synced 2025-01-02 06:27:42 +01:00
Action hand specified
This commit is contained in:
parent
124f441ccd
commit
a53a8e1548
@ -40,7 +40,7 @@ public class Crossbow extends UntargetedWeapon {
|
||||
MMOItems.plugin.getEntities().registerCustomProjectile(getNBTItem(), stats, arrow, 1);
|
||||
|
||||
// Trigger abilities
|
||||
stats.getData().triggerSkills(TriggerType.SHOOT_BOW, arrow);
|
||||
stats.getData().triggerSkills(TriggerType.SHOOT_BOW, EquipmentSlot.MAIN_HAND, arrow);
|
||||
new CustomProjectile(stats.getData(), CustomProjectile.ProjectileType.ARROW, arrow, slot);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user