diff options
| author | Aaron <51387595+AzureAaron@users.noreply.github.com> | 2024-07-13 15:12:46 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-13 15:12:46 -0400 |
| commit | 5b7ac9f48a8c684b3e20f9d7d9447d4a5860b603 (patch) | |
| tree | a8800e53ae7dbacbec8702274c9ca6a7573140cf /src/main/java/de/hysky/skyblocker/skyblock/profileviewer/collections | |
| parent | b9378e6f8c57fe811ee87dbcce0b328edd06489b (diff) | |
| download | Skyblocker-5b7ac9f48a8c684b3e20f9d7d9447d4a5860b603.tar.gz Skyblocker-5b7ac9f48a8c684b3e20f9d7d9447d4a5860b603.tar.bz2 Skyblocker-5b7ac9f48a8c684b3e20f9d7d9447d4a5860b603.zip | |
Aaron's Mod compatibility for profile viewer (#833)
Diffstat (limited to 'src/main/java/de/hysky/skyblocker/skyblock/profileviewer/collections')
| -rw-r--r-- | src/main/java/de/hysky/skyblocker/skyblock/profileviewer/collections/GenericCategory.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/de/hysky/skyblocker/skyblock/profileviewer/collections/GenericCategory.java b/src/main/java/de/hysky/skyblocker/skyblock/profileviewer/collections/GenericCategory.java index 306fe279..a9f83ca8 100644 --- a/src/main/java/de/hysky/skyblocker/skyblock/profileviewer/collections/GenericCategory.java +++ b/src/main/java/de/hysky/skyblocker/skyblock/profileviewer/collections/GenericCategory.java @@ -132,6 +132,8 @@ public class GenericCategory implements ProfileViewerPage { String[] parts = tierText.split("/"); int cTier = Integer.parseInt(parts[0].trim()); Color colour = itemStack.hasGlint() ? Color.MAGENTA : Color.darkGray; + //DO NOT CHANGE THIS METHOD CALL! Aaron's Mod mixes in here to provide chroma text for max collections + //and changing the method called here will break that! Consult Aaron before making any changes :) context.drawText(textRenderer, Text.literal(toRomanNumerals(cTier)), x + 9 - (textRenderer.getWidth(toRomanNumerals(cTier)) / 2), y + 21, colour.getRGB(), false); } break; |
