1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-07-29 12:50:24 +02:00

fix only play pclasses sound to player and only if player switch classes

This commit is contained in:
2016-01-03 23:01:40 +01:00
parent 7621b867c3
commit e0ce022cac
7 changed files with 26 additions and 16 deletions

View File

@ -48,7 +48,7 @@ minetest.register_entity("pclasses:item", {
"class_switch_" .. clicker:get_player_name(),
3600,
pclasses.api.set_player_class,
{clicker:get_player_name(), self.class}
{clicker:get_player_name(), self.class, true}
)
end,
on_activate = function(self, staticdata)