Skip to content

Commit

Permalink
[JDA] update JDA to a snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
rakosi2 committed May 2, 2024
1 parent f22f05b commit d30becd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@
<version>3.0.1</version>
</dependency>
<dependency>
<groupId>net.dv8tion</groupId>
<groupId>io.github.discord-jda</groupId>
<artifactId>JDA</artifactId>
<version>5.0.0-beta.23</version>
<version>6f7189f91a</version>
<exclusions>
<exclusion>
<groupId>club.minnced</groupId> <!-- Exclude DISCORD AUDIO -->
Expand Down
6 changes: 3 additions & 3 deletions src/slaynash/lum/bot/discord/melonscanner/MelonScanner.java
Original file line number Diff line number Diff line change
Expand Up @@ -402,20 +402,20 @@ else if (gamePath.contains("steamrip") || gamePath.contains("repack") || gamePat
context.pirate = true;
}
else if (context.game.equalsIgnoreCase("BloonsTD6")) {
if (!gamePath.contains("steamapps\\common\\bloonstd6") && !gamePath.contains("steamapps\\common\\bloons td 6") && !gamePath.contains("program files\\windowsapps") && !context.epic) {
if (!gamePath.contains("steamapps\\common") && !gamePath.contains("program files\\windowsapps") && !context.epic) {
context.pirate = true;
}
else if (context.gameBuild != null && context.gameBuild.startsWith("34") && VersionUtils.compareVersion("0.6.0", context.mlVersion) > 0) {
context.embedBuilder.addField("BTD6 34", "For BTD6 version 34, Please upgrade to atleast MelonLoader 0.6.0, you may also need to update your mods.", false);
}
}
else if (context.game.equalsIgnoreCase("BONEWORKS")) {
if (!gamePath.contains("steamapps\\common\\boneworks\\boneworks") && !gamePath.contains("software\\stress-level-zero-inc-boneworks")) {
if (!gamePath.contains("steamapps\\common") && !gamePath.contains("software\\stress-level-zero-inc-boneworks")) {
context.pirate = true;
}
}
else if (context.game.equalsIgnoreCase("BONELAB")) {
if (!gamePath.contains("steamapps\\common\\bonelab") && !gamePath.contains("software\\stress-level-zero-inc-bonelab")) {
if (!gamePath.contains("steamapps\\common") && !gamePath.contains("software\\stress-level-zero-inc-bonelab")) {
context.pirate = true;
}
}
Expand Down

0 comments on commit d30becd

Please sign in to comment.