diff --git a/src/main/java/com/github/draylar/vh/mixin/MixinCensorRecipeError.java b/src/main/java/com/github/draylar/vh/mixin/MixinCensorRecipeError.java deleted file mode 100644 index 5be215c..0000000 --- a/src/main/java/com/github/draylar/vh/mixin/MixinCensorRecipeError.java +++ /dev/null @@ -1,17 +0,0 @@ -package com.github.draylar.vh.mixin; - -import net.minecraft.recipe.RecipeManager; -import org.apache.logging.log4j.Logger; -import org.spongepowered.asm.mixin.Mixin; -import org.spongepowered.asm.mixin.injection.At; -import org.spongepowered.asm.mixin.injection.Redirect; - -@Mixin(RecipeManager.class) -public class MixinCensorRecipeError -{ - @Redirect(method = "apply", at = @At(value = "INVOKE", target = "Lorg/apache/logging/log4j/Logger;error(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V")) - private void censorError(final Logger logger, final String message, final Object p0, final Object p1) - { - if(message.contains("vanilla-hammers")) return; - } -} diff --git a/src/main/resources/vanillahammers.mixin.json b/src/main/resources/vanillahammers.mixin.json index 99c0abe..0d76acd 100644 --- a/src/main/resources/vanillahammers.mixin.json +++ b/src/main/resources/vanillahammers.mixin.json @@ -3,7 +3,7 @@ "package": "com.github.draylar.vh.mixin", "compatibilityLevel": "JAVA_8", "mixins": [ - "MixinCensorRecipeError" + ], "client": [ "CancelHammerOutlineMixin",