1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2024-12-12 10:04:40 +02:00

Merge pull request #699 from plague006/progress

Remove deprecated tp commands
This commit is contained in:
Matthew 2019-01-28 10:46:03 -05:00 committed by GitHub
commit 0f05e34cd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 30 deletions

View File

@ -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
)

View File

@ -13,9 +13,9 @@ local Command = {}
local deprecated_command_alternatives = {
['silent-command'] = 'sc',
['tpplayer'] = 'tp',
['tpplayer'] = 'tp <player>',
['tppos'] = 'tp',
['tpmode'] = 'tp',
['tpmode'] = 'tp mode',
}
local option_names = {