Run QuickMove on next tick to improve likeliness of success (fixes #2044)

Since it is 5 ticks later, the inventory may be closed
This commit is contained in:
Myles 2021-02-09 10:35:13 +00:00
parent 37d57af6ec
commit 727c575a1c

View File

@ -74,7 +74,7 @@ public class BukkitInventoryQuickMoveProvider extends InventoryQuickMoveProvider
// http://wiki.vg/index.php?title=Protocol&oldid=13223#Click_Window
updateTask.addItem(windowId, slotId, actionId);
if (!registered) {
Via.getPlatform().runSync(updateTask, 5L);
Via.getPlatform().runSync(updateTask);
}
return true;
}