aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/xmrvizzy/skyblocker
diff options
context:
space:
mode:
authorFix3d <serhanduzce@gmail.com>2022-06-18 16:34:18 +0300
committerFix3d <serhanduzce@gmail.com>2022-06-18 16:34:18 +0300
commit8fb3881a48d1c90b7a8af43ec8af1545b81cae6b (patch)
tree5b376966614837fd7310026c96d5534282917c57 /src/main/java/me/xmrvizzy/skyblocker
parentdf7902d1775f26543c44260bc16e70ff6dd4136e (diff)
downloadSkyblocker-8fb3881a48d1c90b7a8af43ec8af1545b81cae6b.tar.gz
Skyblocker-8fb3881a48d1c90b7a8af43ec8af1545b81cae6b.tar.bz2
Skyblocker-8fb3881a48d1c90b7a8af43ec8af1545b81cae6b.zip
minor changes
Diffstat (limited to 'src/main/java/me/xmrvizzy/skyblocker')
-rw-r--r--src/main/java/me/xmrvizzy/skyblocker/skyblock/item/PriceInfoTooltip.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main/java/me/xmrvizzy/skyblocker/skyblock/item/PriceInfoTooltip.java b/src/main/java/me/xmrvizzy/skyblocker/skyblock/item/PriceInfoTooltip.java
index fdd6d693..e328c8c1 100644
--- a/src/main/java/me/xmrvizzy/skyblocker/skyblock/item/PriceInfoTooltip.java
+++ b/src/main/java/me/xmrvizzy/skyblocker/skyblock/item/PriceInfoTooltip.java
@@ -246,7 +246,7 @@ public class PriceInfoTooltip {
} else if ("RUNE".equals(internalName)) {
if (ea.contains("runes")) {
NbtCompound runes = ea.getCompound("runes");
- String rune = ea.getCompound("runes").getKeys().stream().findFirst().get();
+ String rune = runes.getKeys().stream().findFirst().get();
internalName += "-" + rune.toUpperCase(Locale.ENGLISH) + "-" + runes.getInt(rune);
}
}
@@ -266,14 +266,14 @@ public class PriceInfoTooltip {
return slotText;
}
- /**
- * If these options is true beforehand, the client will get first data of these options while loading.
- * After then, it will only fetch the data if it is on Skyblock.
- */
private final static HashMap<String, String> downloadList;
private static int minute = -1;
+ /**
+ * If these options is true beforehand, the client will get first data of these options while loading.
+ * After then, it will only fetch the data if it is on Skyblock.
+ */
public static void init() {
skyblocker.scheduler.scheduleCyclic(() -> {
if (!Utils.isOnSkyblock && 0 < minute++) {