From 095a4425bd35a78a260d659e02349d58c0507d2c Mon Sep 17 00:00:00 2001 From: DoKM Date: Wed, 14 Jul 2021 21:40:02 +0200 Subject: add specific divide size for wardrobe to eliminate missing rows untested but should work --- .../moulberry/notenoughupdates/profileviewer/GuiProfileViewer.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/main/java/io') diff --git a/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/GuiProfileViewer.java b/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/GuiProfileViewer.java index e0cf37fb..1822f630 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/GuiProfileViewer.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/GuiProfileViewer.java @@ -1721,10 +1721,14 @@ public class GuiProfileViewer extends GuiScreen { jsonInvSize = (int)Math.ceil(jsonInv.size()/9f)*9; } else { jsonInvSize = 9*4; + float divideBy = 9f; + if(invName.equals("wardrobe_contents")){ + divideBy = 36f; + } for(int i=9*4; i