aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorDoKM <mcazzyman@gmail.com>2021-07-22 09:57:39 +0200
committerDoKM <mcazzyman@gmail.com>2021-07-22 09:57:39 +0200
commitcb3c51f303672d350354a32cf504a4a242f9f4aa (patch)
tree48d091cdc34c31f2b3173f405a845d1b752a37fc /src/main/java
parentbefa3f0f8aeb0166bf84dddd14f6b4fabc236cf0 (diff)
parent01b8796ea4777c182142af2605cf2871a76faeaa (diff)
downloadNotEnoughUpdates-cb3c51f303672d350354a32cf504a4a242f9f4aa.tar.gz
NotEnoughUpdates-cb3c51f303672d350354a32cf504a4a242f9f4aa.tar.bz2
NotEnoughUpdates-cb3c51f303672d350354a32cf504a4a242f9f4aa.zip
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/profileviewer/GuiProfileViewer.java6
1 files changed, 3 insertions, 3 deletions
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;
}