mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Revert inventory "fix" that's causing issues with quickly opening & closing inventories (#4523)
This commit is contained in:
parent
4ea94f89a2
commit
85908690a3
1 changed files with 0 additions and 5 deletions
|
@ -126,12 +126,7 @@ public class BedrockInteractTranslator extends PacketTranslator<InteractPacket>
|
||||||
} else {
|
} else {
|
||||||
InventoryUtils.openInventory(session, session.getPlayerInventory());
|
InventoryUtils.openInventory(session, session.getPlayerInventory());
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
// Case: Player tries to open a player inventory, while we think it should be in a different inventory
|
|
||||||
// Now: Open the inventory that we're supposed to be in.
|
|
||||||
InventoryUtils.openInventory(session, session.getOpenInventory());
|
|
||||||
}
|
}
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue