diff --git a/features/admin_commands.lua b/features/admin_commands.lua index d3851ae8..cb6f092c 100644 --- a/features/admin_commands.lua +++ b/features/admin_commands.lua @@ -376,31 +376,3 @@ Command.add( }, teleport_command ) - -Command.add( - 'tpplayer', - { - description = 'Teleports you to the player', - arguments = {'player'}, - admin_only = true - }, - teleport_player -) - -Command.add( - 'tppos', - { - description = 'Teleports you to a selected entity.', - admin_only = true - }, - teleport_location -) - -Command.add( - 'tpmode', - { - description = 'Toggles tp mode. When on place a ghost entity to teleport there', - admin_only = true - }, - toggle_tp_mode -) diff --git a/utils/command.lua b/utils/command.lua index 8ea32a70..5a2cc31c 100644 --- a/utils/command.lua +++ b/utils/command.lua @@ -13,9 +13,9 @@ local Command = {} local deprecated_command_alternatives = { ['silent-command'] = 'sc', - ['tpplayer'] = 'tp', + ['tpplayer'] = 'tp ', ['tppos'] = 'tp', - ['tpmode'] = 'tp', + ['tpmode'] = 'tp mode', } local option_names = {