mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-26 18:39:44 -05:00
Execute display check task async, display already add async detector.
Former-commit-id: 8d343851a4a8aa1473e0baad5938c1185cb2c85e [formerly 2f40d59e4adc1704032bb97fcc9625b6b7f8213f] Former-commit-id: 9b108ab9555f8e95bf184766c284e2a0454db0f0
This commit is contained in:
1 parent
8d40d2470a
commit
30ac78bd9d
1 file changed
+1
-1
@@ -57,7 +57,7 @@ public class DisplayWatcher {
|
||||
// }
|
||||
pendingCheckDisplay.addAll(plugin.getShopManager().getLoadedShops());
|
||||
//}
|
||||
Bukkit.getScheduler().runTask(plugin, new DisplayRunnable());
|
||||
Bukkit.getScheduler().runTaskAsynchronously(plugin, new DisplayRunnable());
|
||||
}
|
||||
}.runTaskTimerAsynchronously(plugin, 1L, plugin.getDisplayItemCheckTicks());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user