Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-11-20 06:50:08 +01:00
Fix error with shit-click on offhand slot on 1.8 servers (#2419)
Dieser Commit ist enthalten in:
Ursprung
29d6b55592
Commit
9ccd8bff33
@ -69,7 +69,7 @@ public class BukkitInventoryQuickMoveProvider extends InventoryQuickMoveProvider
|
||||
if (windowId == 0) {
|
||||
// windowId is always 0 for player inventory.
|
||||
// This has almost definitely something to do with the offhand slot.
|
||||
if (slotId >= 36 && slotId <= 44) {
|
||||
if (slotId >= 36 && slotId <= 45) {
|
||||
int protocolId = Via.getAPI().getServerVersion().lowestSupportedVersion();
|
||||
// this seems to be working just fine.
|
||||
if (protocolId == ProtocolVersion.v1_8.getVersion()) {
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren