mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-11-07 17:36:07 +00:00
Implemented 1.20.2 fully, needs more testing
This commit is contained in:
parent
4f957cee7e
commit
93112d2c02
3 changed files with 2662 additions and 2532 deletions
|
|
@ -786,7 +786,7 @@ namespace MinecraftClient.ChatBots
|
|||
{
|
||||
var playerInventory = GetPlayerInventory();
|
||||
|
||||
if (playerInventory.Items.TryGetValue(GetCurrentSlot() - 36, out Item value) && value.Type == itemType)
|
||||
if (playerInventory.Items.TryGetValue(GetCurrentSlot() - 36, out var value) && value.Type == itemType)
|
||||
return true; // Already selected
|
||||
|
||||
// Search the full inventory
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue