mirror of
https://github.com/Refactorio/RedMew.git
synced 2025-03-03 14:53:01 +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
|
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 = {
|
local deprecated_command_alternatives = {
|
||||||
['silent-command'] = 'sc',
|
['silent-command'] = 'sc',
|
||||||
['tpplayer'] = 'tp',
|
['tpplayer'] = 'tp <player>',
|
||||||
['tppos'] = 'tp',
|
['tppos'] = 'tp',
|
||||||
['tpmode'] = 'tp',
|
['tpmode'] = 'tp mode',
|
||||||
}
|
}
|
||||||
|
|
||||||
local option_names = {
|
local option_names = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user