diff options
author | NopoTheGamer <40329022+NopoTheGamer@users.noreply.github.com> | 2024-05-05 00:02:57 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-04 16:02:57 +0200 |
commit | 5e4a82b0d96e650483a6dee84d081a49670536ec (patch) | |
tree | 5cf4b0afef71d9a3b2a860b5c2fe7dee78e585ff | |
parent | f0d92ec45746ee30910e5a9d0615fecd6cdea244 (diff) | |
download | NotEnoughUpdates-5e4a82b0d96e650483a6dee84d081a49670536ec.tar.gz NotEnoughUpdates-5e4a82b0d96e650483a6dee84d081a49670536ec.tar.bz2 NotEnoughUpdates-5e4a82b0d96e650483a6dee84d081a49670536ec.zip |
Remove backpack fix (#1149)
-rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/profileviewer/InventoriesPage.java | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/InventoriesPage.java b/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/InventoriesPage.java index 05c28aaf..6ce57846 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/InventoriesPage.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/InventoriesPage.java @@ -825,16 +825,6 @@ public class InventoriesPage extends GuiProfileViewerPage { if (invName.equals("inv_contents")) { yIndex--; if (yIndex < 0) yIndex = rows - 1; - } else if (invName.equals("backpack_contents")) { - if (maxInvSize == 36) { - yIndex++; - if (yIndex < 0) yIndex = rows - 1; - if (yIndex > 3) yIndex = 0; - } else if (maxInvSize == 45) { - yIndex += 2; - if (yIndex < 0) yIndex = rows - 1; - if (yIndex > 4) yIndex = 0; - } } if (yIndex >= thisRows) { |