Add minimum knockback to crossbow

This commit is contained in:
Eliy21 2023-12-17 20:01:35 +00:00
parent 6d7ae8ba2d
commit c39e55e2d4
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ function mcl_bows_s.shoot_arrow_crossbow(arrow_item, pos, dir, yaw, shooter, pow
if damage == nil then
damage = 3
end
local knockback
local knockback = 4.875
if crossbow_stack then
local enchantments = mcl_enchanting.get_enchantments(crossbow_stack)
if enchantments.piercing then