Rename WorldMap to MapId (#14857)
This commit is contained in:
@@ -101,12 +101,7 @@ public sealed class PlanetCommand : IConsoleCommand
|
||||
public CompletionResult GetCompletion(IConsoleShell shell, string[] args)
|
||||
{
|
||||
if (args.Length == 1)
|
||||
{
|
||||
var options = _entManager.EntityQuery<MapComponent>(true)
|
||||
.Select(o => new CompletionOption(o.WorldMap.ToString(), "MapId"));
|
||||
|
||||
return CompletionResult.FromOptions(options);
|
||||
}
|
||||
return CompletionResult.FromHintOptions(CompletionHelper.MapIds(_entManager), "Map Id");
|
||||
|
||||
if (args.Length == 2)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user