From bd5109c8a020fee706f116a91061d2a1a2d79510 Mon Sep 17 00:00:00 2001 From: Allen Zheng Date: Fri, 23 Feb 2024 00:21:14 -0500 Subject: [PATCH] fixed inquis announce --- changelog.json | 3 ++- features/event/InquisitorDetect.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/changelog.json b/changelog.json index 4bf500a5..efa18721 100644 --- a/changelog.json +++ b/changelog.json @@ -8,5 +8,6 @@ "- Fixed Garden box always rendering", "- Fixed blacklist auto kick", "- Fixed trophy counter on session view", - "- Fixed party join message" + "- Fixed party join message", + "- Fixed inquis announce" ] \ No newline at end of file diff --git a/features/event/InquisitorDetect.js b/features/event/InquisitorDetect.js index eac69a37..0f827410 100644 --- a/features/event/InquisitorDetect.js +++ b/features/event/InquisitorDetect.js @@ -84,7 +84,7 @@ register("command", () => { */ registerWhen(register("chat", (wow, mob) => { if (mob === "Minos Inquisitor") { - announceMob(settings.inqAlert, "Minos Inquisitor", inquisitor.getX(), inquisitor.getY(), inquisitor.getZ()); + announceMob(settings.inqAlert, "Minos Inquisitor", Player.getX(), Player.getY(), Player.getZ()); if (settings.inqCounter !== 0) updateInqCounter(true); } else if (settings.inqCounter !== 0) updateInqCounter(false); }).setCriteria("${wow}! You dug out a ${mob}!"), () => getWorld() === "Hub" && getPerks().has("Mythological Ritual"));