Skip to content

Commit

Permalink
Merge pull request #132 from CzechHek/patch-8
Browse files Browse the repository at this point in the history
Fixed bug that caused instabans
  • Loading branch information
SenkJu committed Jun 18, 2020
2 parents df0db46 + 7d8a2db commit a5072df
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ class InventoryCleaner : Module() {
if (openInventory)
mc.netHandler.addToSendQueue(C16PacketClientStatus(C16PacketClientStatus.EnumState.OPEN_INVENTORY_ACHIEVEMENT))

mc.playerController.windowClick(mc.thePlayer.openContainer.windowId, garbageItem, 4, 4, mc.thePlayer)
mc.playerController.windowClick(mc.thePlayer.openContainer.windowId, garbageItem, 1, 4, mc.thePlayer)

if (openInventory)
mc.netHandler.addToSendQueue(C0DPacketCloseWindow())
Expand Down

0 comments on commit a5072df

Please sign in to comment.