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:
@ -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)
|
||||
|
Reference in New Issue
Block a user