Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix minion kill #6026

Merged
merged 2 commits into from
Aug 28, 2024
Merged

Fix minion kill #6026

merged 2 commits into from
Aug 28, 2024

Conversation

nwjgit
Copy link
Contributor

@nwjgit nwjgit commented Aug 28, 2024

Description:

Fix minion kill

Changes:

Fix minion kill

Other checks:

  • I have tested all my changes thoroughly.

nwjgit added 2 commits August 28, 2024 17:26

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@@ -485,10 +485,12 @@ export async function minionKillCommand(
if (monster.id === Monsters.HillGiant.id || monster.id === Monsters.MossGiant.id) {
usingCannon = isInWilderness;
}
if (monster.id === Monsters.Spider.id || Monsters.Scorpion.id) {

if (monster.id === Monsters.Spider.id || monster.id === Monsters.Scorpion.id) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The condition Monsters.Scorpion.id should be monster.id === Monsters.Scorpion.id.

@themrrobert themrrobert merged commit 48f67aa into oldschoolgg:master Aug 28, 2024
4 checks passed
Arodab pushed a commit to Arodab/oldschoolbot that referenced this pull request Sep 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants