Unified cache implementation. Using references in events.
This commit is contained in:
@ -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<>();
|
||||
|
Reference in New Issue
Block a user