Fix Console Client crashes when using the /inventory click command

issues #912
This commit is contained in:
ReinforceZwei 2020-03-31 12:01:29 +08:00 committed by ORelio
parent 0b31f70d7b
commit 5d0172a1f9

View file

@ -542,6 +542,7 @@ namespace MinecraftClient.Protocol.Handlers
if (item != null) if (item != null)
inventorySlots[slotId] = item; inventorySlots[slotId] = item;
} }
window_actions[windowId] = 0;
handler.OnWindowItems(windowId, inventorySlots); handler.OnWindowItems(windowId, inventorySlots);
} }
break; break;