mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Add Mode switching command for AutoDrop (#1293)
* Add new command for AutoDrop * Minor imporvement for AutoDrop * Fix inventory update event passed a non-exist inventory ID * Minor improvement for AutoDrop
This commit is contained in:
parent
9169036893
commit
ec9f999857
3 changed files with 43 additions and 3 deletions
|
|
@ -1770,6 +1770,7 @@ namespace MinecraftClient
|
|||
// Handle cursor item
|
||||
if (inventoryID == 255 && slotID == -1)
|
||||
{
|
||||
inventoryID = 0; // Prevent key not found for some bots relied to this event
|
||||
if (inventories.ContainsKey(0))
|
||||
{
|
||||
if (item != null)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue