Merge 1.19.2 into 1.20
This commit is contained in:
commit
e397f0ca78
|
|
@ -224,6 +224,7 @@ public class ModernFixEarlyConfig {
|
||||||
disableIfModPresent("mixin.launch.class_search_cache", "optifine");
|
disableIfModPresent("mixin.launch.class_search_cache", "optifine");
|
||||||
disableIfModPresent("mixin.perf.faster_texture_stitching", "optifine");
|
disableIfModPresent("mixin.perf.faster_texture_stitching", "optifine");
|
||||||
disableIfModPresent("mixin.perf.datapack_reload_exceptions", "cyanide");
|
disableIfModPresent("mixin.perf.datapack_reload_exceptions", "cyanide");
|
||||||
|
disableIfModPresent("mixin.bugfix.buffer_builder_leak", "isometric-renders");
|
||||||
disableIfModPresent("mixin.perf.faster_texture_loading", "stitch", "optifine", "changed");
|
disableIfModPresent("mixin.perf.faster_texture_loading", "stitch", "optifine", "changed");
|
||||||
if(isFabric) {
|
if(isFabric) {
|
||||||
disableIfModPresent("mixin.bugfix.packet_leak", "memoryleakfix");
|
disableIfModPresent("mixin.bugfix.packet_leak", "memoryleakfix");
|
||||||
|
|
@ -236,7 +237,7 @@ public class ModernFixEarlyConfig {
|
||||||
if(!ModernFixPlatformHooks.INSTANCE.isDevEnv())
|
if(!ModernFixPlatformHooks.INSTANCE.isDevEnv())
|
||||||
return;
|
return;
|
||||||
try {
|
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");
|
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]");
|
this.options.get("mixin.perf.reduce_blockstate_cache_rebuilds").addModOverride(false, "[not mojmap]");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user