1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-06-28 14:16:06 +02: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:
2017-04-20 02:22:17 +02:00
parent c9b5199e97
commit 8d2683b94b
3 changed files with 5 additions and 3 deletions

View File

@ -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,