mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-12-27 11:45:18 +01:00
fix crash si class on_update() not defined
fix wrong stamina value to hunter remove old call of function, moved to assign api
This commit is contained in:
@@ -12,7 +12,6 @@ pclasses.api.register_class("adventurer", {
|
||||
if inform then
|
||||
minetest.chat_send_player(pname, "You are now an adventurer")
|
||||
end
|
||||
pclasses.api.util.on_update(pname)
|
||||
end,
|
||||
on_unassigned = function(pname)
|
||||
end,
|
||||
|
||||
Reference in New Issue
Block a user