aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/de/hysky/skyblocker/skyblock
diff options
context:
space:
mode:
authorvicisacat <victor.branchu@gmail.com>2024-04-20 16:12:28 +0200
committervicisacat <victor.branchu@gmail.com>2024-04-20 16:12:28 +0200
commit04396b153a9226be5add8fd7fcb7f6629ec0e520 (patch)
tree70e7901effbfa573abeb2489eeb814c460187f82 /src/main/java/de/hysky/skyblocker/skyblock
parentde10287482995655bea8850aa364a257e9ce9b29 (diff)
downloadSkyblocker-04396b153a9226be5add8fd7fcb7f6629ec0e520.tar.gz
Skyblocker-04396b153a9226be5add8fd7fcb7f6629ec0e520.tar.bz2
Skyblocker-04396b153a9226be5add8fd7fcb7f6629ec0e520.zip
fix intellij refactor oopsies
Diffstat (limited to 'src/main/java/de/hysky/skyblocker/skyblock')
-rw-r--r--src/main/java/de/hysky/skyblocker/skyblock/auction/AuctionBrowserScreen.java2
-rw-r--r--src/main/java/de/hysky/skyblocker/skyblock/dungeon/secrets/DungeonMapUtils.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/de/hysky/skyblocker/skyblock/auction/AuctionBrowserScreen.java b/src/main/java/de/hysky/skyblocker/skyblock/auction/AuctionBrowserScreen.java
index d6111f1b..c8bc1f13 100644
--- a/src/main/java/de/hysky/skyblocker/skyblock/auction/AuctionBrowserScreen.java
+++ b/src/main/java/de/hysky/skyblocker/skyblock/auction/AuctionBrowserScreen.java
@@ -352,7 +352,7 @@ public class AuctionBrowserScreen extends AbstractCustomHypixelGUI<AuctionHouseS
List<Text> tooltip = ItemUtils.getNbtTooltips(stack);
String str = tooltip.get(0).getString().trim();
str = str.substring(1, str.length() - 1); // remove parentheses
- String[] parts = str.split("/"); // targetSize the string
+ String[] parts = str.split("/"); // split the string
currentPage = Integer.parseInt(parts[0].replace(",", "")); // parse current page
totalPages = Integer.parseInt(parts[1].replace(",", "")); // parse total
} catch (Exception e) {
diff --git a/src/main/java/de/hysky/skyblocker/skyblock/dungeon/secrets/DungeonMapUtils.java b/src/main/java/de/hysky/skyblocker/skyblock/dungeon/secrets/DungeonMapUtils.java
index 617e7094..8e0073f7 100644
--- a/src/main/java/de/hysky/skyblocker/skyblock/dungeon/secrets/DungeonMapUtils.java
+++ b/src/main/java/de/hysky/skyblocker/skyblock/dungeon/secrets/DungeonMapUtils.java
@@ -168,7 +168,7 @@ public class DungeonMapUtils {
* @param x the x position of the coordinate to calculate
* @param z the z position of the coordinate to calculate
* @return the physical position of the northwest corner of the room the player is in
- * @implNote {@code physicalPos} is shifted by 0.5 so room borders are evenly targetSize.
+ * @implNote {@code physicalPos} is shifted by 0.5 so room borders are evenly split.
* {@code physicalPos} is further shifted by 8 because Hypixel offset dungeons by 8 blocks in Skyblock 0.12.3.
* Subtracting the modulo gives the northwest corner of the room shifted by 8. Finally, {@code physicalPos} is shifted back by 8 to its intended position.
*/