diff options
author | Moulberry <james.jenour@student.scotch.wa.edu.au> | 2020-07-22 04:55:27 +1000 |
---|---|---|
committer | Moulberry <james.jenour@student.scotch.wa.edu.au> | 2020-07-22 04:55:27 +1000 |
commit | 16b89f752b83aa91f1697238d785eb97a4f01f61 (patch) | |
tree | 672edba6de0a525854de9c89d2c4a77f969940e5 /src/main/java | |
parent | d04771c7ef5cdab9554aa6aef506a39c8e2bd3d4 (diff) | |
download | NotEnoughUpdates-16b89f752b83aa91f1697238d785eb97a4f01f61.tar.gz NotEnoughUpdates-16b89f752b83aa91f1697238d785eb97a4f01f61.tar.bz2 NotEnoughUpdates-16b89f752b83aa91f1697238d785eb97a4f01f61.zip |
even less scuffed
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/profileviewer/GuiProfileViewer.java | 8 |
1 files changed, 4 insertions, 4 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 9607a888..7b16102c 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/GuiProfileViewer.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/GuiProfileViewer.java @@ -133,7 +133,7 @@ public class GuiProfileViewer extends GuiScreen { try { ResourceLocation[] panoramasArray = new ResourceLocation[6]; for(int i=0; i<6; i++) { - panoramasArray[i] = new ResourceLocation("notenoughupdates:panoramas/"+location+"_"+identifier+"/panorama_"+i+".png"); + panoramasArray[i] = new ResourceLocation("notenoughupdates:panoramas/"+location+"_"+identifier+"/panorama_"+i+".jpg"); Minecraft.getMinecraft().getResourceManager().getResource(panoramasArray[i]); } panoramasMap.put(location, panoramasArray); @@ -142,7 +142,7 @@ public class GuiProfileViewer extends GuiScreen { try { ResourceLocation[] panoramasArray = new ResourceLocation[6]; for(int i=0; i<6; i++) { - panoramasArray[i] = new ResourceLocation("notenoughupdates:panoramas/"+location+"/panorama_"+i+".png"); + panoramasArray[i] = new ResourceLocation("notenoughupdates:panoramas/"+location+"/panorama_"+i+".jpg"); Minecraft.getMinecraft().getResourceManager().getResource(panoramasArray[i]); } panoramasMap.put(location, panoramasArray); @@ -150,7 +150,7 @@ public class GuiProfileViewer extends GuiScreen { } catch(IOException e2) { ResourceLocation[] panoramasArray = new ResourceLocation[6]; for(int i=0; i<6; i++) { - panoramasArray[i] = new ResourceLocation("notenoughupdates:panoramas/unknown/panorama_"+i+".png"); + panoramasArray[i] = new ResourceLocation("notenoughupdates:panoramas/unknown/panorama_"+i+".jpg"); } panoramasMap.put(location, panoramasArray); return panoramasArray; @@ -453,7 +453,7 @@ public class GuiProfileViewer extends GuiScreen { } if(mouseX > x && mouseX < x+80) { - if(mouseY > y+4 && mouseY < y+13) { + if(mouseY > y-4 && mouseY < y+13) { String levelStr; if(skillInfo.get("maxed_"+entry.getKey()).getAsBoolean()) { levelStr = EnumChatFormatting.GOLD+"MAXED!"; |