mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-11-28 21:15:51 +01:00
Run handitem cache every tick
This commit is contained in:
parent
68c63d20ed
commit
69409d71d1
@ -93,7 +93,7 @@ public class BukkitViaLoader implements ViaPlatformLoader {
|
|||||||
|
|
||||||
if (plugin.getConf().isItemCache()) {
|
if (plugin.getConf().isItemCache()) {
|
||||||
handItemCache = new HandItemCache();
|
handItemCache = new HandItemCache();
|
||||||
tasks.add(handItemCache.runTaskTimerAsynchronously(plugin, 2L, 2L)); // Updates player's items :)
|
tasks.add(handItemCache.runTaskTimerAsynchronously(plugin, 1L, 1L)); // Updates player's items :)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user