aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorDoKM <54663875+DoKM@users.noreply.github.com>2021-07-22 09:32:40 +0200
committerGitHub <noreply@github.com>2021-07-22 09:32:40 +0200
commit01b8796ea4777c182142af2605cf2871a76faeaa (patch)
tree29fc94a02eb9ed3aeda1eb0f9205c0f89eeb261b /src/main/java
parentaebc16a2a5ca9c20affc27eb5a45cd9a95085168 (diff)
parent8bc8b575a4f594d6c6efea5ca8f8dabd4a233d68 (diff)
downloadNotEnoughUpdates-01b8796ea4777c182142af2605cf2871a76faeaa.tar.gz
NotEnoughUpdates-01b8796ea4777c182142af2605cf2871a76faeaa.tar.bz2
NotEnoughUpdates-01b8796ea4777c182142af2605cf2871a76faeaa.zip
Merge pull request #7 from nopothegamer/master
fixed cit pets in pv
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;
}