1.0.1.7 update

fix for baubles shortcut "ring" suddenly not shifting like it should
when potion effects are active
This commit is contained in:
Azanor committed 2014-08-26 08:00:35 +02:00
1 parent f00345f30b
commit 85300f31e9
4 files changed
+8 -5

No files matched your search

@@ -26,7 +26,7 @@ public class GuiEvents {
int guiLeft = (event.gui.width - xSize) / 2;
int guiTop = (event.gui.height - ySize) / 2;
if (!event.gui.mc.thePlayer.getActivePotionEffects().isEmpty() && shiftNei()) {
if (!event.gui.mc.thePlayer.getActivePotionEffects().isEmpty() && isNeiHidden()) {
guiLeft = 160 + (event.gui.width - xSize - 200) / 2;
}
@@ -55,8 +55,8 @@ public class GuiEvents {
}
static Method isNEIHidden;
boolean shiftNei() {
boolean hidden=false;
boolean isNeiHidden() {
boolean hidden=true;
try {
if (isNEIHidden==null) {
Class fake = Class.forName("codechicken.nei.NEIClientConfig");
+1 -1
View File
@@ -26,7 +26,7 @@ public class Baubles {
public static final String MODID = "Baubles";
public static final String MODNAME = "Baubles";
public static final String VERSION = "1.0.1.6";
public static final String VERSION = "1.0.1.7";
@SidedProxy(clientSide = "baubles.client.ClientProxy", serverSide = "baubles.common.CommonProxy")
public static CommonProxy proxy;