|
|
@@ -3,7 +3,6 @@ using Gamecraft.Wires; |
|
|
|
using TechbloxModdingAPI; |
|
|
|
using TechbloxModdingAPI.Commands; |
|
|
|
using TechbloxModdingAPI.Utility; |
|
|
|
using RobocraftX.CommandLine.Custom; |
|
|
|
|
|
|
|
namespace BuildingTools |
|
|
|
{ |
|
|
@@ -22,12 +21,6 @@ namespace BuildingTools |
|
|
|
{ |
|
|
|
action(a1, _blockSelections.blocks, _blockSelections.refBlock); |
|
|
|
}).Build(); |
|
|
|
ConsoleCommands.RegisterWithChannel<string>(name + "Chan", (a1, ch) => |
|
|
|
{ |
|
|
|
Console.WriteLine($"Command {name} with args {a1} and channel {ch} executing"); |
|
|
|
/*var blks = _blockSelections.SelectBlocks(ch); - TODO: Re-add support if object IDs exist again |
|
|
|
action(a1, blks, blks[0]);*/ |
|
|
|
}, ChannelType.Object, desc); |
|
|
|
} |
|
|
|
|
|
|
|
public void RegisterBlockCommand(string name, string desc, Action<float, float, float, Block[], Block> action) |
|
|
|