Add /lb alias for /line (For fCraft compatibility), remove '/bs' shortcut for /blockspeed (as if anyone even used it)

This commit is contained in:
UnknownShadow200 2020-06-18 22:23:21 +10:00
parent 3fbb77c470
commit aac7b7c99b
2 changed files with 3 additions and 1 deletions

View File

@ -20,7 +20,6 @@ using System;
namespace MCGalaxy.Commands.Maintenance {
public sealed class CmdBlockSpeed : Command2 {
public override string name { get { return "BlockSpeed"; } }
public override string shortcut { get { return "bs"; } }
public override string type { get { return CommandTypes.Moderation; } }
public override LevelPermission defaultRank { get { return LevelPermission.Operator; } }

View File

@ -23,6 +23,9 @@ namespace MCGalaxy.Commands.Building {
public sealed class CmdLine : DrawCmd {
public override string name { get { return "Line"; } }
public override string shortcut { get { return "l"; } }
public override CommandAlias[] Aliases {
get { return new[] { new CommandAlias("ln") }; }
}
protected override string SelectionType { get { return "endpoints"; } }
protected override string PlaceMessage { get { return "Place or break two blocks to determine the endpoints."; } }