21w18a
This commit is contained in:
1 parent
7780a3276d
commit
dfa826bb24
2 files changed
+7
-6
No files matched your search
+3
-3
@@ -4,10 +4,10 @@ org.gradle.jvmargs=-Xmx1G
|
|||||||
# Fabric Properties
|
# Fabric Properties
|
||||||
# check these on https://fabricmc.net/use
|
# check these on https://fabricmc.net/use
|
||||||
# or better: https://modmuss50.me/fabric.html
|
# or better: https://modmuss50.me/fabric.html
|
||||||
minecraft_version=21w17a
|
minecraft_version=21w18a
|
||||||
yarn_mappings=21w17a+build.19
|
yarn_mappings=21w18a+build.3
|
||||||
loader_version=0.11.3
|
loader_version=0.11.3
|
||||||
fabric_version=0.34.0+1.17
|
fabric_version=0.34.2+1.17
|
||||||
|
|
||||||
# Mod Properties
|
# Mod Properties
|
||||||
mod_version = 1.4.35
|
mod_version = 1.4.35
|
||||||
|
|||||||
@@ -10,13 +10,14 @@ import org.spongepowered.asm.mixin.injection.Redirect;
|
|||||||
@Mixin(BiomeArray.class)
|
@Mixin(BiomeArray.class)
|
||||||
public class BiomeArray_cleanLogsMixin
|
public class BiomeArray_cleanLogsMixin
|
||||||
{
|
{
|
||||||
|
// this changed in 21w18a - maybe its not needed anymore, please check
|
||||||
@SuppressWarnings("UnresolvedMixinReference")
|
@SuppressWarnings("UnresolvedMixinReference")
|
||||||
@Redirect(method = "<init>(Lnet/minecraft/util/collection/IndexedIterable;Lnet/minecraft/world/HeightLimitView;[I)V", at = @At(
|
@Redirect(method = "<init>(Lnet/minecraft/util/collection/IndexedIterable;Lnet/minecraft/world/HeightLimitView;[I)V", at = @At(
|
||||||
value = "INVOKE",
|
value = "INVOKE",
|
||||||
target = "Lorg/apache/logging/log4j/Logger;warn(Ljava/lang/String;Ljava/lang/Object;)V")
|
target = "Lorg/apache/logging/log4j/Logger;warn(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V")
|
||||||
)
|
)
|
||||||
private void skipLog(Logger logger, String message, Object p0)
|
private void skipLog(Logger logger, String message, Object p0, Object p1)
|
||||||
{
|
{
|
||||||
if (!CarpetSettings.cleanLogs) logger.warn(message, p0);
|
if (!CarpetSettings.cleanLogs) logger.warn(message, p0, p1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user