Implemented 1.20.2 fully, needs more testing

This commit is contained in:
Anon 2023-11-17 18:21:57 +01:00
parent 4f957cee7e
commit 93112d2c02
3 changed files with 2662 additions and 2532 deletions

View file

@ -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