From 8bc8b575a4f594d6c6efea5ca8f8dabd4a233d68 Mon Sep 17 00:00:00 2001 From: nopothegamer <40329022+nopothegamer@users.noreply.github.com> Date: Thu, 22 Jul 2021 16:08:24 +1000 Subject: made pv cit models not die gamer --- .../moulberry/notenoughupdates/profileviewer/GuiProfileViewer.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (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 acd1f99d..df148ec4 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/GuiProfileViewer.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/GuiProfileViewer.java @@ -2600,7 +2600,7 @@ public class GuiProfileViewer extends GuiScreen { for(int i=0; i<4; i++) { JsonObject item = NotEnoughUpdates.INSTANCE.manager.getItemInformation().get(type+";"+i); if(item != null) { - int x = guiLeft+50; + int x = guiLeft+20; float y = guiTop+82+15*(float)Math.sin(((currentTime-startTime)/800f)%(2*Math.PI)); GlStateManager.translate(x, y, 0); ItemStack stack = NotEnoughUpdates.INSTANCE.manager.jsonToStack(item, false); @@ -2610,10 +2610,10 @@ public class GuiProfileViewer extends GuiScreen { stackTag.removeTag("ExtraAttributes"); stack.setTagCompound(stackTag); - GlStateManager.scale(-1.5f, 1.5f, 1); + GlStateManager.scale(1.5f, 1.5f, 1); GlStateManager.enableDepth(); Utils.drawItemStack(stack, 0, 0); - GlStateManager.scale(-1/1.5f, 1/1.5f, 1); + GlStateManager.scale(1/1.5f, 1/1.5f, 1); GlStateManager.translate(-x, -y, 0); break; } -- cgit