diff options
| author | NopoTheGamer <40329022+NopoTheGamer@users.noreply.github.com> | 2024-08-25 21:23:03 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-25 13:23:03 +0200 |
| commit | cf83b2d5620c44a3ab3d0a1fb8c639d4b0c2ac41 (patch) | |
| tree | 3a80c95e99a9e6d7d6fededbda4450eacf747b1b | |
| parent | 0992f11c8063aa468d3eda2925e87b141453e3d5 (diff) | |
| download | notenoughupdates-cf83b2d5620c44a3ab3d0a1fb8c639d4b0c2ac41.tar.gz notenoughupdates-cf83b2d5620c44a3ab3d0a1fb8c639d4b0c2ac41.tar.bz2 notenoughupdates-cf83b2d5620c44a3ab3d0a1fb8c639d4b0c2ac41.zip | |
Fix stack sizes not showing in rift page (#1343)
| -rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/profileviewer/rift/RiftPage.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/rift/RiftPage.java b/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/rift/RiftPage.java index a732c1d3..2d43ec4d 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/rift/RiftPage.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/rift/RiftPage.java @@ -342,7 +342,7 @@ public class RiftPage extends GuiProfileViewerPage { int y = 91 + (row * 18); slot++; if (jsonObject != null) { - ItemStack itemStack = NotEnoughUpdates.INSTANCE.manager.jsonToStack(jsonObject); + ItemStack itemStack = NotEnoughUpdates.INSTANCE.manager.jsonToStack(jsonObject, false); if ((mouseX >= guiLeft + x && mouseX <= guiLeft + x + 16) && (mouseY >= guiTop + y && mouseY <= guiTop + y + 16)) { @@ -377,7 +377,7 @@ public class RiftPage extends GuiProfileViewerPage { for (JsonObject jsonObject : hotbar) { if (jsonObject != null) { int drawX = 123 + (hotbarSlot * 18); - ItemStack itemStack = NotEnoughUpdates.INSTANCE.manager.jsonToStack(jsonObject); + ItemStack itemStack = NotEnoughUpdates.INSTANCE.manager.jsonToStack(jsonObject, false); if ((mouseX >= guiLeft + drawX && mouseX <= guiLeft + drawX + 16) && (mouseY >= guiTop + 154 && mouseY <= guiTop + 154 + 16)) { @@ -404,7 +404,7 @@ public class RiftPage extends GuiProfileViewerPage { } if (jsonObject != null) { - ItemStack itemStack = NotEnoughUpdates.INSTANCE.manager.jsonToStack(jsonObject); + ItemStack itemStack = NotEnoughUpdates.INSTANCE.manager.jsonToStack(jsonObject, false); int x1 = (inventoryX - guiLeft) + (slot * 18) + 8; int y1 = (inventoryY - guiTop) + (row * 18); if ((mouseX >= guiLeft + x1 && mouseX <= guiLeft + x1 + 16) && |
