diff options
-rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/profileviewer/ExtraPage.java | 6 | ||||
-rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/profileviewer/data/APIDataJson.java | 1 |
2 files changed, 5 insertions, 2 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/ExtraPage.java b/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/ExtraPage.java index 78ed2218..5f3a31f1 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/ExtraPage.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/ExtraPage.java @@ -259,10 +259,12 @@ public class ExtraPage extends GuiProfileViewerPage { "banking.balance" ), 0); float purseBalance = data.currencies.coin_purse; + float personalBankBalance = data.profile.bank_account; Utils.renderAlignedString( - EnumChatFormatting.GOLD + "Bank Balance", - EnumChatFormatting.WHITE + StringUtils.shortNumberFormat(bankBalance), + EnumChatFormatting.GOLD + "Bank", + EnumChatFormatting.WHITE + StringUtils.shortNumberFormat(bankBalance) + "/" + + StringUtils.shortNumberFormat(personalBankBalance), guiLeft + xStart, guiTop + yStartTop, 76 diff --git a/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/data/APIDataJson.java b/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/data/APIDataJson.java index 768ff674..ff83d163 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/data/APIDataJson.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/data/APIDataJson.java @@ -55,6 +55,7 @@ public class APIDataJson { public static class Profile { public int personal_bank_upgrade = 0; public boolean cookie_buff_active = false; + public float bank_account = 0; } public Experimentation experimentation = new Experimentation(); |