Merge branch 'master' into 1.17
This commit is contained in:
commit
da2873de52
3 files changed
+53
-17
No files matched your search
@@ -6,11 +6,11 @@ import org.spongepowered.asm.mixin.Mixin;
|
||||
import org.spongepowered.asm.mixin.injection.At;
|
||||
import org.spongepowered.asm.mixin.injection.Redirect;
|
||||
|
||||
@Mixin(targets="net.minecraft.client.sound.SoundEngine$SourceSetImpl")
|
||||
@Mixin(targets="net.minecraft.client.sound.SoundEngine$SourceSetImpl", priority = 69420)
|
||||
public class SoundEngineInt_cleanLogsMixin
|
||||
{
|
||||
// createSource // method_19666, remap = false,
|
||||
@Redirect(method = "createSource()Lnet/minecraft/client/sound/Source;", 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"
|
||||
))
|
||||
|
||||
@@ -7,10 +7,10 @@ import org.spongepowered.asm.mixin.Mixin;
|
||||
import org.spongepowered.asm.mixin.injection.At;
|
||||
import org.spongepowered.asm.mixin.injection.Redirect;
|
||||
|
||||
@Mixin(SoundSystem.class)
|
||||
@Mixin(value = SoundSystem.class, priority = 69420)
|
||||
public class SoundSystem_cleanLogsMixin
|
||||
{
|
||||
@Redirect(method = "play(Lnet/minecraft/client/sound/SoundInstance;)V", at = @At( remap = false,
|
||||
@Redirect(method = "play(Lnet/minecraft/client/sound/SoundInstance;)V", require = 0, at = @At( remap = false,
|
||||
value = "INVOKE",
|
||||
target = "Lorg/apache/logging/log4j/Logger;warn(Ljava/lang/String;)V"
|
||||
))
|
||||
|
||||
Reference in new issue
Block a user