diff --git a/features/admin_commands.lua b/features/admin_commands.lua index f4a043b8..d3851ae8 100644 --- a/features/admin_commands.lua +++ b/features/admin_commands.lua @@ -241,8 +241,12 @@ local function teleport_command(args, player) end end +-- Event registrations + Event.add(defines.events.on_built_entity, built_entity) +-- Command registrations + Command.add( 'a', { diff --git a/features/redmew_commands.lua b/features/redmew_commands.lua index 8e051acc..ac055b7a 100644 --- a/features/redmew_commands.lua +++ b/features/redmew_commands.lua @@ -143,7 +143,7 @@ local function server_time(_, player) end end -local function search_command(arguments, player) +local function search_command(arguments) local keyword = arguments.keyword local p = Game.player_print if #keyword < 2 then @@ -191,7 +191,7 @@ local function search_command(arguments, player) p(format('-------- Page %d / %d --------', page, pages)) end ----------------------------------------------------------------------------------------- +-- Command registrations Command.add( 'kill',