We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5a5b01 commit b943dc1Copy full SHA for b943dc1
common/src/main/java/org/embeddedt/modernfix/core/config/ModernFixEarlyConfig.java
@@ -235,7 +235,7 @@ private void checkBlockstateCacheRebuilds() {
235
if(!ModernFixPlatformHooks.INSTANCE.isDevEnv())
236
return;
237
try {
238
- if(ModernFixEarlyConfig.class.getResource("/net/minecraft/world/level/Level.class") == null) {
+ if(ModernFixEarlyConfig.class.getClassLoader().getResource("/net/minecraft/world/level/Level.class") == null) {
239
LOGGER.warn("We are in a non-Mojmap dev environment. Disabling blockstate cache patch");
240
this.options.get("mixin.perf.reduce_blockstate_cache_rebuilds").addModOverride(false, "[not mojmap]");
241
}
0 commit comments