Changed cached requirements to update every 15 seconds
This commit is contained in:
@@ -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() {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
group 'com.willfp'
|
||||
version '3.1.1'
|
||||
version '3.1.2'
|
||||
description = 'Xray Extension'
|
||||
|
||||
shadowJar {
|
||||
|
||||
Reference in New Issue
Block a user