mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Adjust dig block API
Attempt to automate dig start and dig complete (#1077)
This commit is contained in:
parent
6df5076d19
commit
4cc29a6ee6
11 changed files with 113 additions and 48 deletions
|
|
@ -12,7 +12,9 @@ namespace MinecraftClient.Commands
|
|||
|
||||
public override string Run(McClient handler, string command, Dictionary<string, object> localVars)
|
||||
{
|
||||
if (!handler.GetInventoryEnabled()) return "Please enable InventoryHandling in the config file first.";
|
||||
if (!handler.GetTerrainEnabled())
|
||||
return "Please enable InventoryHandling in the config file first.";
|
||||
|
||||
if (hasArg(command))
|
||||
{
|
||||
short slot;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue