From 0c5d241d90d6b26c614d250e0dfff32d4ee49838 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal002@users.noreply.github.com> Date: Tue, 10 Sep 2024 14:29:36 +0200 Subject: Fix: Inquis share button (#2484) Co-authored-by: jani270 <69345714+jani270@users.noreply.github.com> Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com> --- .../skyhanni/features/event/diana/InquisitorWaypointShare.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/at/hannibal2/skyhanni/features/event/diana/InquisitorWaypointShare.kt b/src/main/java/at/hannibal2/skyhanni/features/event/diana/InquisitorWaypointShare.kt index a5263fc44..2d0e2a809 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/event/diana/InquisitorWaypointShare.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/event/diana/InquisitorWaypointShare.kt @@ -11,7 +11,6 @@ import at.hannibal2.skyhanni.events.SecondPassedEvent import at.hannibal2.skyhanni.events.diana.InquisitorFoundEvent import at.hannibal2.skyhanni.events.minecraft.packet.PacketReceivedEvent import at.hannibal2.skyhanni.skyhannimodule.SkyHanniModule -import at.hannibal2.skyhanni.test.command.ErrorManager import at.hannibal2.skyhanni.utils.ChatUtils import at.hannibal2.skyhanni.utils.CollectionUtils.editCopy import at.hannibal2.skyhanni.utils.EntityUtils @@ -202,7 +201,8 @@ object InquisitorWaypointShare { lastShareTime = SimpleTimeMark.now() if (inquisitor == -1) { - ErrorManager.skyHanniError("No Inquisitor Found!") + ChatUtils.debug("Trying to send inquisitor via chat, but no Inquisitor is nearby.") + return } val inquisitor = EntityUtils.getEntityByID(inquisitor) -- cgit