Increase the waiting time

This commit is contained in:
mmxw11 2017-09-28 20:47:13 +03:00
parent d57ef2b303
commit 2703e849cb

View File

@ -123,7 +123,7 @@ public class BukkitInvContainerItemProvider extends InvContainerItemProvider {
private void scheduleTask(BukkitInvContainerUpdateTask utask) { private void scheduleTask(BukkitInvContainerUpdateTask utask) {
BukkitScheduler scheduler = Bukkit.getServer().getScheduler(); BukkitScheduler scheduler = Bukkit.getServer().getScheduler();
Plugin instance = Bukkit.getServer().getPluginManager().getPlugin("ViaVersion"); Plugin instance = Bukkit.getServer().getPluginManager().getPlugin("ViaVersion");
scheduler.runTaskLater(instance, utask, 2); // 2 ticks later (possible double click action). scheduler.runTaskLater(instance, utask, 5); // 5 ticks later (possible double click action).
} }
private void setupReflection() { private void setupReflection() {