diff options
| author | NopoTheGamer <40329022+NopoTheGamer@users.noreply.github.com> | 2022-08-20 09:21:21 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-20 09:21:21 +1000 |
| commit | 445d0c69f3eb384aba032e3cf0e379bb53ea61df (patch) | |
| tree | 77bc5c7ebb1af4a2fb090e5f251e95d5d6ff3b0f /src/main/java/io/github/moulberry/notenoughupdates/profileviewer | |
| parent | b2d35428ac089ac104a2ea8212d8332c27a6cbee (diff) | |
| download | notenoughupdates-445d0c69f3eb384aba032e3cf0e379bb53ea61df.tar.gz notenoughupdates-445d0c69f3eb384aba032e3cf0e379bb53ea61df.tar.bz2 notenoughupdates-445d0c69f3eb384aba032e3cf0e379bb53ea61df.zip | |
Make be level show without island selected (#228)
Co-authored-by: jani270 <jani270@gmx.de>
Diffstat (limited to 'src/main/java/io/github/moulberry/notenoughupdates/profileviewer')
| -rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/profileviewer/bestiary/BestiaryPage.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/bestiary/BestiaryPage.java b/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/bestiary/BestiaryPage.java index 7ca3e6a8..b37aa73f 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/bestiary/BestiaryPage.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/bestiary/BestiaryPage.java @@ -112,6 +112,13 @@ public class BestiaryPage extends GuiProfileViewerPage { List<String> mobs = BestiaryData.getBestiaryLocations().get(selectedBestiaryLocation); Color color = new Color(128, 128, 128, 255); + Utils.renderAlignedString( + EnumChatFormatting.RED + "Bestiary Level: ", + EnumChatFormatting.GRAY + "" + (float) getBestiaryTiers(profileInfo) / 10, + guiLeft + 220, + guiTop + 50, + 110 + ); if (mobs != null) { for (int i = 0; i < mobs.size(); i++) { String mob = mobs.get(i); @@ -218,13 +225,6 @@ public class BestiaryPage extends GuiProfileViewerPage { ); } } - Utils.renderAlignedString( - EnumChatFormatting.RED + "Bestiary Level: ", - EnumChatFormatting.GRAY + "" + (float) getBestiaryTiers(profileInfo) / 10, - guiLeft + 220, - guiTop + 50, - 110 - ); } } if (tooltipToDisplay != null) { |
