(UBC) make the logger shut up

This commit is contained in:
FalsePattern committed 2022-12-27 15:09:12 +01:00
1 parent 50b30383e4
commit 552568dd60
1 file changed
+10
@@ -10,6 +10,8 @@ import org.spongepowered.asm.mixin.injection.Redirect;
import net.minecraft.world.chunk.NibbleArray;
import net.minecraft.world.chunk.storage.ExtendedBlockStorage;
import java.util.logging.Logger;
@Mixin(value = BiomeUndergroundDecorator.class,
remap = false)
public abstract class BiomeUndergroundDecoratorMixin {
@@ -60,4 +62,12 @@ public abstract class BiomeUndergroundDecoratorMixin {
blockID = ((blockID & 0xFF) << 16) | ((blockID & 0xFFFF00) >>> 8);
return instance.blockReplacer(blockID);
}
@Redirect(method = "correctBiomeDecorators",
at = @At(value = "INVOKE",
target = "Ljava/util/logging/Logger;info(Ljava/lang/String;)V"),
require = 2)
private void noLog(Logger instance, String s) {
}
}