Skip to content

Commit

Permalink
fixed inquis announce
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenga8533 committed Feb 23, 2024
1 parent 906c3d4 commit bd5109c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion changelog.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
2 changes: 1 addition & 1 deletion features/event/InquisitorDetect.js
Original file line number Diff line number Diff line change
Expand Up @@ -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"));
Expand Down

0 comments on commit bd5109c

Please sign in to comment.