From eb2ec71d2bd74514c8c8c812a52f7f50b9310b3e Mon Sep 17 00:00:00 2001 From: GJ Date: Thu, 24 May 2012 14:17:51 -0400 Subject: [PATCH] More priority tweaks. --- src/main/java/com/gmail/nossr50/datatypes/HUDmmo.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/datatypes/HUDmmo.java b/src/main/java/com/gmail/nossr50/datatypes/HUDmmo.java index 7a51fb45d..34be0dd09 100644 --- a/src/main/java/com/gmail/nossr50/datatypes/HUDmmo.java +++ b/src/main/java/com/gmail/nossr50/datatypes/HUDmmo.java @@ -154,7 +154,7 @@ public class HUDmmo { xpicon.setHeight(6); xpicon.setX(141); xpicon.setY(9); - xpicon.setPriority(RenderPriority.High); + xpicon.setPriority(RenderPriority.Normal); xpicon.setDirty(true); xpicon.setUrl("Icon_r.png"); @@ -164,7 +164,7 @@ public class HUDmmo { xpbar.setY(10); ((GenericGradient) xpbar).setBottomColor(border); ((GenericGradient) xpbar).setTopColor(border); - xpbar.setPriority(RenderPriority.Lowest); + xpbar.setPriority(RenderPriority.Highest); xpbar.setDirty(true); xpfill.setWidth(0); @@ -215,6 +215,7 @@ public class HUDmmo { xpbar.setY(SpoutConfig.getInstance().getXPBarYPosition()); xpbar.setHeight(8); xpbar.setWidth(256); + xpbar.setPriority(RenderPriority.Lowest); sPlayer.getMainScreen().attachWidget(plugin, xpbar); @@ -226,6 +227,7 @@ public class HUDmmo { xpicon.setWidth(32); xpicon.setX(SpoutConfig.getInstance().getXPIconXPosition()); xpicon.setY(SpoutConfig.getInstance().getXPIconYPosition()); + xpicon.setPriority(RenderPriority.High); xpicon.setDirty(true); sPlayer.getMainScreen().attachWidget(plugin, xpicon); @@ -249,6 +251,7 @@ public class HUDmmo { xpbar.setY(SpoutConfig.getInstance().getXPBarYPosition()); xpbar.setHeight(4); xpbar.setWidth(128); + xpbar.setPriority(RenderPriority.Lowest); sPlayer.getMainScreen().attachWidget(plugin, xpbar); @@ -260,6 +263,7 @@ public class HUDmmo { xpicon.setWidth(16); xpicon.setX(center_x - (8 + 64)); xpicon.setY(SpoutConfig.getInstance().getXPIconYPosition() + 2); + xpicon.setPriority(RenderPriority.High); xpicon.setDirty(true); sPlayer.getMainScreen().attachWidget(plugin, xpicon);