Skip to content

Commit

Permalink
fix default cache time
Browse files Browse the repository at this point in the history
  • Loading branch information
xGinko committed Dec 31, 2024
1 parent 8e5669e commit d95133e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class BlockLimit extends AEFModule implements Listener {

public BlockLimit() {
super("chunk-limits.block-limit", false);
this.materialCountCacheMillis = config.getLong(configPath + ".material-count-cache-millis", 5000);
this.materialCountCacheMillis = config.getLong(configPath + ".material-count-cache-millis", 500);

Map<XMaterial, Integer> universal = new EnumMap<>(XMaterial.class);
universal.put(XMaterial.ENCHANTING_TABLE, 16);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public class BlockLimit extends AEFModule implements Listener {

public BlockLimit() {
super("chunk-limits.block-limit", false);
this.materialCountCacheMillis = config.getLong(configPath + ".material-count-cache-millis", 5000);
this.materialCountCacheMillis = config.getLong(configPath + ".material-count-cache-millis", 500);

Map<XMaterial, Integer> universal = new EnumMap<>(XMaterial.class);
universal.put(XMaterial.ENCHANTING_TABLE, 16);
Expand Down

0 comments on commit d95133e

Please sign in to comment.