mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-11-16 23:40:31 +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
|
end
|
||||||
shift_class = true
|
shift_class = true
|
||||||
for _,piece in pairs({"chestplate", "leggings", "boots", "helmet"}) do
|
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"))
|
or inv:contains_item("armor", "3d_armor:" .. piece .. "_black_mithril_plated"))
|
||||||
end
|
end
|
||||||
return shift_class
|
return shift_class
|
||||||
|
|
Loading…
Reference in New Issue
Block a user