mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-20 23:21:24 +01:00
Temporary fix for shift click
This commit is contained in:
parent
1f08f5dc34
commit
1daaeda63f
@ -344,7 +344,7 @@ public class Inventory extends AbstractInventory implements Viewable {
|
||||
if (isInWindow) {
|
||||
clickResult = clickProcessor.shiftClick(this, player, slot, clicked, cursor,
|
||||
// Player inventory loop
|
||||
new InventoryClickLoopHandler(0, PlayerInventory.INVENTORY_SIZE, 1,
|
||||
new InventoryClickLoopHandler(offset, PlayerInventory.INVENTORY_SIZE + offset, 1,
|
||||
PlayerInventoryUtils::convertToPacketSlot,
|
||||
index -> isClickInWindow(index) ?
|
||||
getItemStack(index) :
|
||||
|
Loading…
Reference in New Issue
Block a user