diff --git a/src/main/java/mod/acgaming/universaltweaks/mods/extrautilities/radar/mixin/UTRadarPingMixin.java b/src/main/java/mod/acgaming/universaltweaks/mods/extrautilities/radar/mixin/UTRadarPingMixin.java index 9cbd2936..e811f45c 100644 --- a/src/main/java/mod/acgaming/universaltweaks/mods/extrautilities/radar/mixin/UTRadarPingMixin.java +++ b/src/main/java/mod/acgaming/universaltweaks/mods/extrautilities/radar/mixin/UTRadarPingMixin.java @@ -6,6 +6,7 @@ import com.llamalad7.mixinextras.injector.wrapoperation.Operation; import com.llamalad7.mixinextras.injector.wrapoperation.WrapOperation; import com.rwtema.extrautils2.crafting.Radar; +import mod.acgaming.universaltweaks.config.UTConfigGeneral; import mod.acgaming.universaltweaks.config.UTConfigMods; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.injection.At; @@ -24,7 +25,7 @@ private ItemStack utCatchItemHandlerException(IItemHandler instance, int slot, O } catch (AbstractMethodError e) { - e.printStackTrace(); + if (UTConfigGeneral.DEBUG.utDebugToggle) e.printStackTrace(); return ItemStack.EMPTY; } }