Skip to content

Commit

Permalink
Update for RuneLite v1.7.21.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Septem151 authored and Lazyfaith committed Sep 4, 2021
1 parent 5c6fdc6 commit c25b7c8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ build
.classpath
nbactions.xml
nb-configuration.xml
nbproject/
nbproject/
.vscode
bin
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ repositories {
mavenCentral()
}

def runeLiteVersion = '1.6.29'
def runeLiteVersion = '1.7.21.1'

dependencies {
compileOnly group: 'net.runelite', name:'client', version: runeLiteVersion
Expand Down
6 changes: 3 additions & 3 deletions src/main/java/com/bankmemory/data/BankWorldType.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ public enum BankWorldType {
String displayString;

public static BankWorldType forWorld(EnumSet<WorldType> worldsTypes) {
if (worldsTypes.contains(WorldType.LEAGUE)) {
if (worldsTypes.contains(WorldType.SEASONAL)) {
return BankWorldType.LEAGUE;
}
if (worldsTypes.contains(WorldType.TOURNAMENT)) {
if (worldsTypes.contains(WorldType.TOURNAMENT_WORLD)) {
return BankWorldType.TOURNAMENT;
}
if (worldsTypes.contains(WorldType.DEADMAN_TOURNAMENT)) {
if (worldsTypes.contains(WorldType.DEADMAN)) {
return BankWorldType.DEADMAN_TOURNAMENT;
}
if (worldsTypes.contains(WorldType.DEADMAN)) {
Expand Down

0 comments on commit c25b7c8

Please sign in to comment.