forked from VoxeLibre/VoxeLibre
Add minimum knockback to crossbow
This commit is contained in:
parent
6d7ae8ba2d
commit
c39e55e2d4
|
@ -48,7 +48,7 @@ function mcl_bows_s.shoot_arrow_crossbow(arrow_item, pos, dir, yaw, shooter, pow
|
||||||
if damage == nil then
|
if damage == nil then
|
||||||
damage = 3
|
damage = 3
|
||||||
end
|
end
|
||||||
local knockback
|
local knockback = 4.875
|
||||||
if crossbow_stack then
|
if crossbow_stack then
|
||||||
local enchantments = mcl_enchanting.get_enchantments(crossbow_stack)
|
local enchantments = mcl_enchanting.get_enchantments(crossbow_stack)
|
||||||
if enchantments.piercing then
|
if enchantments.piercing then
|
||||||
|
|
Loading…
Reference in New Issue