1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-06-28 22:26:08 +02:00

[pclasses & mff_pclasses] Misc. fixes

- PClasses : Fix adventurer to not reset stats
 - MFF PClasses : Fix hunter to flush bonus ownership data upon leaving
   the game
This commit is contained in:
LeMagnesium
2017-04-19 23:57:30 +02:00
parent f6341038af
commit 8c0a0a5547
2 changed files with 3 additions and 4 deletions

View File

@ -54,6 +54,9 @@ pclasses.api.register_class("hunter", {
"you need to fight a super strong mob, but it's just details...)") .. "image[2.4,5.6;6,4;pclasses_showcase_hunter.png]"
})
minetest.register_on_leaveplayer(function(player)
tmp[player:get_player_name()] = false
end)
pclasses.api.reserve_item("hunter", "throwing:bow_minotaur_horn")
pclasses.api.reserve_item("hunter", "throwing:bow_minotaur_horn_loaded")