Changed cached requirements to update every 15 seconds

This commit is contained in:
Auxilor
2021-08-29 11:56:34 +01:00
parent c850f254d8
commit a82aa95c20
2 changed files with 3 additions and 3 deletions

View File

@@ -263,8 +263,8 @@ public abstract class EcoEnchant extends Enchantment implements Listener, Watche
postUpdate();
this.register();
this.getPlugin().getScheduler().runTimer(this.cachedRequirements::clear, 3000, 3000);
this.cachedRequirements.clear();
this.getPlugin().getScheduler().runTimer(this.cachedRequirements::clear, 300, 300);
}
protected void postUpdate() {

View File

@@ -1,5 +1,5 @@
group 'com.willfp'
version '3.1.1'
version '3.1.2'
description = 'Xray Extension'
shadowJar {