From 16b89f752b83aa91f1697238d785eb97a4f01f61 Mon Sep 17 00:00:00 2001 From: Moulberry Date: Wed, 22 Jul 2020 04:55:27 +1000 Subject: even less scuffed --- .../notenoughupdates/profileviewer/GuiProfileViewer.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 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 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!"; -- cgit