Action hand specified

This commit is contained in:
Roch Blonndiaux 2023-01-16 15:33:22 +01:00
parent 124f441ccd
commit a53a8e1548

View File

@ -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);
}
}