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:
commit
0f05e34cd4
@ -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
|
||||
)
|
||||
|
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user