mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-06-28 14:16:06 +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:
@ -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")
|
||||
|
Reference in New Issue
Block a user