Merge 1.20.2 into 1.20.3
This commit is contained in:
commit
2c5b664c68
|
|
@ -224,6 +224,7 @@ public class ModernFixEarlyConfig {
|
|||
disableIfModPresent("mixin.launch.class_search_cache", "optifine");
|
||||
disableIfModPresent("mixin.perf.faster_texture_stitching", "optifine");
|
||||
disableIfModPresent("mixin.perf.datapack_reload_exceptions", "cyanide");
|
||||
disableIfModPresent("mixin.bugfix.buffer_builder_leak", "isometric-renders");
|
||||
disableIfModPresent("mixin.perf.faster_texture_loading", "stitch", "optifine", "changed");
|
||||
if(isFabric) {
|
||||
disableIfModPresent("mixin.bugfix.packet_leak", "memoryleakfix");
|
||||
|
|
@ -236,7 +237,7 @@ public class ModernFixEarlyConfig {
|
|||
if(!ModernFixPlatformHooks.INSTANCE.isDevEnv())
|
||||
return;
|
||||
try {
|
||||
if(ModernFixEarlyConfig.class.getResource("/net/minecraft/world/level/Level.class") == null) {
|
||||
if(ModernFixEarlyConfig.class.getClassLoader().getResource("/net/minecraft/world/level/Level.class") == null) {
|
||||
LOGGER.warn("We are in a non-Mojmap dev environment. Disabling blockstate cache patch");
|
||||
this.options.get("mixin.perf.reduce_blockstate_cache_rebuilds").addModOverride(false, "[not mojmap]");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user