start implement

This commit is contained in:
ReinforceZwei 2020-05-24 10:33:09 +08:00 committed by ORelio
parent d6022d1ee9
commit 902527502e
4 changed files with 17 additions and 1 deletions

View file

@ -83,6 +83,13 @@ namespace MinecraftClient.Commands
return keyName + " clicking slot " + slot + " in window #" + inventoryId;
}
else return CMDDesc;
case "drop":
if (args.Length >= 3)
{
int slot = int.Parse(args[2]);
handler.DoWindowAction(inventoryId, slot, WindowActionType.DropItem);
}
return "Dropped";
default:
return CMDDesc;
}