mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-03-31 17:50:41 +02:00
Fix crash when player take damages and wearing black mithril shield.
This commit is contained in:
parent
11a7c9c644
commit
372b652cad
@ -198,12 +198,6 @@ if armor.materials.blackmithril then
|
|||||||
armor_groups = {fleshy=16},
|
armor_groups = {fleshy=16},
|
||||||
damage_groups = {cracky=2, snappy=1, level=3},
|
damage_groups = {cracky=2, snappy=1, level=3},
|
||||||
reciprocate_damage = true,
|
reciprocate_damage = true,
|
||||||
on_damage = function(player, index, stack)
|
|
||||||
play_sound_effect(player, "default_glass_footstep")
|
|
||||||
end,
|
|
||||||
on_destroy = function(player, index, stack)
|
|
||||||
play_sound_effect(player, "default_break_glass")
|
|
||||||
end,
|
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user