aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/github/moulberry/notenoughupdates/util/SBInfo.java
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal002@users.noreply.github.com>2023-02-11 12:37:43 +0100
committerGitHub <noreply@github.com>2023-02-11 12:37:43 +0100
commit1d1017c55492175b8a2c2329d8c050c71c45ccfe (patch)
tree6e6a6633dd3aeb65a99c2bf72435aba2b83d925a /src/main/java/io/github/moulberry/notenoughupdates/util/SBInfo.java
parent7cdf7b41bfe5f2631827e0512fffe079972af586 (diff)
downloadnotenoughupdates-1d1017c55492175b8a2c2329d8c050c71c45ccfe.tar.gz
notenoughupdates-1d1017c55492175b8a2c2329d8c050c71c45ccfe.tar.bz2
notenoughupdates-1d1017c55492175b8a2c2329d8c050c71c45ccfe.zip
Merge pull request #583
* Bingo has already enough to do. * Typo. * Realization: Century Cakes exist. * I added back cakes, so I removed them back from the list of features … * Default enabled.
Diffstat (limited to 'src/main/java/io/github/moulberry/notenoughupdates/util/SBInfo.java')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/util/SBInfo.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/util/SBInfo.java b/src/main/java/io/github/moulberry/notenoughupdates/util/SBInfo.java
index 8ce765aa..d0af9091 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/util/SBInfo.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/util/SBInfo.java
@@ -86,6 +86,7 @@ public class SBInfo {
public String objective = "";
public String slayer = "";
public boolean stranded = false;
+ public boolean bingo = false;
public String mode = null;
@@ -388,6 +389,7 @@ public class SBInfo {
isInDungeon = tempIsInDungeon;
boolean containsStranded = false;
+ boolean containsBingo = false;
for (String line : lines) { //Slayer stuff
if (line.contains("Tarantula Broodfather")) {
slayer = "Tarantula";
@@ -422,8 +424,10 @@ public class SBInfo {
}
}
if (line.contains("☀ Stranded")) containsStranded = true;
+ if (line.contains("Ⓑ Bingo")) containsBingo = true;
}
stranded = containsStranded;
+ bingo = containsBingo;
if (lines.size() >= 5) {
date = Utils.cleanColour(lines.get(1)).trim();