mirror of
https://gitlab.com/phoenix-dvpmt/mmoitems.git
synced 2025-02-21 14:31:20 +01:00
Fixed validation error on crossbows
This commit is contained in:
parent
d11cee182d
commit
207411fc87
@ -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, slot, arrow);
|
||||
new CustomProjectile(stats.getData(), CustomProjectile.ProjectileType.ARROW, arrow, slot);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user