Unified cache implementation. Using references in events.

This commit is contained in:
2025-05-26 18:58:20 +01:00
parent e4c444c6f8
commit 40f2a491b1
4 changed files with 26 additions and 28 deletions

View File

@ -132,8 +132,8 @@ public final class Config {
private static void onConfigReload() {
// Clear cache
OperationCache.clearBlockBreakCache();
OperationCache.clearEntityKillCache();
OperationCache.blockBreakCache.clear();
OperationCache.entityKillCache.clear();
// Parse all block break global operations
blockBreakGlobalOperationItems = new ArrayList<>();