mirror of
https://github.com/GTNewHorizons/Baubles-Expanded.git
synced 2026-11-26 14:53:00 +00:00
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:
1 parent
f00345f30b
commit
85300f31e9
4 files changed
+8
-5
No files matched your search
+1
-1
@@ -17,7 +17,7 @@ buildscript {
|
||||
|
||||
apply plugin: 'forge'
|
||||
|
||||
version = "1.7.10-1.0.1.6"
|
||||
version = "1.7.10-1.0.1.7"
|
||||
group= "com.azanor.baubles"
|
||||
archivesBaseName = "Baubles"
|
||||
|
||||
|
||||
@@ -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");
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
1.0.1.7
|
||||
- fix for baubles shortcut "ring" suddenly not shifting like it should when potion effects are active
|
||||
|
||||
1.0.1.6
|
||||
- added a secondary client sync event in case a player logs off and then on again before his player gets unloaded from a server.
|
||||
|
||||
|
||||
Reference in new issue
Block a user