1.18-pre6
This commit is contained in:
1 parent
e4356c5fa0
commit
368229d607
4 files changed
+13
-10
No files matched your search
@@ -10,12 +10,12 @@ import org.spongepowered.asm.mixin.injection.Redirect;
|
||||
public class SoundEngineInt_cleanLogsMixin
|
||||
{
|
||||
// createSource // method_19666, remap = false,
|
||||
@Redirect(method = "createSource()Lnet/minecraft/client/sound/Source;", require = 0, at = @At(remap = false,
|
||||
/*@Redirect(method = "createSource()Lnet/minecraft/client/sound/Source;", require = 0, at = @At(remap = false,
|
||||
value="INVOKE",
|
||||
target = "Lorg/apache/logging/log4j/Logger;warn(Ljava/lang/String;Ljava/lang/Object;)V"
|
||||
))
|
||||
private void doWarnOrNotWarn(Logger logger, String message, Object p0)
|
||||
{
|
||||
if (!CarpetSettings.cleanLogs) logger.warn(message, p0);
|
||||
}
|
||||
}*/
|
||||
}
|
||||
Reference in new issue
Block a user