aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal002@users.noreply.github.com>2024-09-10 14:29:36 +0200
committerGitHub <noreply@github.com>2024-09-10 14:29:36 +0200
commit0c5d241d90d6b26c614d250e0dfff32d4ee49838 (patch)
tree0170c6af6c8ef504d162bdc4f7c9e070a0ebaf59
parent8a15a24cb3311c4afe2e1a0f0c12bd8c5b7aa36d (diff)
downloadskyhanni-0c5d241d90d6b26c614d250e0dfff32d4ee49838.tar.gz
skyhanni-0c5d241d90d6b26c614d250e0dfff32d4ee49838.tar.bz2
skyhanni-0c5d241d90d6b26c614d250e0dfff32d4ee49838.zip
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>
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/event/diana/InquisitorWaypointShare.kt4
1 files 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)