mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 11:35:22 +09:00
No more warnings
This commit is contained in:
@@ -17,7 +17,7 @@ CustomMessages:on_load(function(player_name, player_message)
|
||||
local player = game.players[player_name]
|
||||
local custom_message = player_message or config[player_name]
|
||||
if custom_message then
|
||||
game.print(custom_message, player.color)
|
||||
game.print(custom_message, { color = player.color })
|
||||
else
|
||||
player.print{ "join-message.greet", { "links.discord" } }
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user