mirror of
https://github.com/GTMEGA/EndlessIDs.git
synced 2026-11-12 07:17:31 +00:00
(UBC) make the logger shut up
This commit is contained in:
1 file changed
+10
+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) {
|
||||
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user