mirror of
https://gitlab.com/phoenix-dvpmt/mmoitems.git
synced 2025-02-22 14:41:48 +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);
|
MMOItems.plugin.getEntities().registerCustomProjectile(getNBTItem(), stats, arrow, 1);
|
||||||
|
|
||||||
// Trigger abilities
|
// 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);
|
new CustomProjectile(stats.getData(), CustomProjectile.ProjectileType.ARROW, arrow, slot);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user