1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-12-17 23:55:23 +01:00

fix pclasse assign now others class on join server, no only the default

fix pclasse assign now if class is same, bug on join server
add on_unassigned for all class
This commit is contained in:
2015-12-24 20:36:17 +01:00
parent 6db59ee981
commit 482329bf1d
5 changed files with 27 additions and 19 deletions

View File

@@ -13,6 +13,8 @@ pclasses.api.register_class("wizard", {
-- Add specs here
minetest.log("action", "[PClasses] Player " .. pname .. " becomes a wizard")
end,
on_unassigned = function(pname)
end,
switch_params = {
color = {r = 230, g = 230, b = 0},
holo_item = "default:book"