mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-01-11 18:40:25 +01:00
fixed missing "(" in pclasses
This commit is contained in:
parent
36ed607e7b
commit
873e874563
@ -163,7 +163,7 @@ pclasses.api.register_class("warrior", function(player)
|
||||
end
|
||||
shift_class = true
|
||||
for _,piece in pairs({"chestplate", "leggings", "boots", "helmet"}) do
|
||||
shift_class = shift_class and inv:contains_item("armor", "3d_armor:" .. piece .. "_mithril")
|
||||
shift_class = shift_class and (inv:contains_item("armor", "3d_armor:" .. piece .. "_mithril")
|
||||
or inv:contains_item("armor", "3d_armor:" .. piece .. "_black_mithril_plated"))
|
||||
end
|
||||
return shift_class
|
||||
|
Loading…
Reference in New Issue
Block a user