Fixed Existing Lua Check Errors

This commit is contained in:
Cooldude2606 committed 2020-05-26 18:21:10 +01:00
1 parent 2aaeb06be3
commit 32507492b8
76 files changed
+1622 -1617

No files matched your search

+3 -3
View File
@@ -7,7 +7,7 @@ local config = require 'config.join_messages' --- @dep config.join_messages
local Global = require 'utils.global' --- @dep utils.global
require 'overrides.table'
Global.register(config,function(tbl)
Global.register(config, function(tbl)
config = tbl
end)
@@ -16,9 +16,9 @@ function(event)
local player = Game.get_player_by_index(event.player_index)
local custom_message = config[player.name]
if custom_message then
game.print(custom_message,player.color)
game.print(custom_message, player.color)
else
player.print{'greetings.greet',{'links.discord'}}
player.print{'greetings.greet', {'links.discord'}}
end
end