Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-11-20 06:50:08 +01:00
Run QuickMove on next tick to improve likeliness of success (fixes #2044)
Since it is 5 ticks later, the inventory may be closed
Dieser Commit ist enthalten in:
Ursprung
37d57af6ec
Commit
727c575a1c
@ -74,7 +74,7 @@ public class BukkitInventoryQuickMoveProvider extends InventoryQuickMoveProvider
|
|||||||
// http://wiki.vg/index.php?title=Protocol&oldid=13223#Click_Window
|
// http://wiki.vg/index.php?title=Protocol&oldid=13223#Click_Window
|
||||||
updateTask.addItem(windowId, slotId, actionId);
|
updateTask.addItem(windowId, slotId, actionId);
|
||||||
if (!registered) {
|
if (!registered) {
|
||||||
Via.getPlatform().runSync(updateTask, 5L);
|
Via.getPlatform().runSync(updateTask);
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren