mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-11-18 00:08:25 +01:00
parent
0d88b4443f
commit
3fd2d1bbf4
@ -100,7 +100,7 @@ if ARMOR_MATERIALS.mithril then
|
||||
})
|
||||
end
|
||||
|
||||
if ARMOR_MATERIALS.black_mithril then
|
||||
if ARMOR_MATERIALS.blackmithril then
|
||||
minetest.register_tool("shields:shield_black_mithril_warrior", {
|
||||
description = "Black Mithril Shield",
|
||||
inventory_image = "shields_inv_shield_black_mithril_warrior.png",
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
pclasses.api.register_class("warrior", {
|
||||
determination = function(player)
|
||||
return pclasses.api.util.does_wear_full_armor(player:get_player_name(), "blackmithril", true)
|
||||
return pclasses.api.util.does_wear_full_armor(player:get_player_name(), "blackmithril", false)
|
||||
end,
|
||||
on_assigned = function(pname)
|
||||
minetest.sound_play("pclasses_full_warrior")
|
||||
|
Loading…
Reference in New Issue
Block a user