diff --git a/ant/buildnumber.txt b/ant/buildnumber.txt index 3808a2d..1707364 100644 --- a/ant/buildnumber.txt +++ b/ant/buildnumber.txt @@ -1,3 +1,3 @@ #Build Number for ANT. Do not edit! -#Tue Jul 22 00:32:27 MSK 2014 -build.number=184 +#Tue Jul 22 22:11:14 MSK 2014 +build.number=185 diff --git a/java/yalter/mousetweaks/Config.java b/java/yalter/mousetweaks/Config.java index a19729d..1a3d001 100644 --- a/java/yalter/mousetweaks/Config.java +++ b/java/yalter/mousetweaks/Config.java @@ -34,10 +34,10 @@ public class Config { public boolean saveConfig() { try { - File config = new File(fileName); - File parentDir = config.getParentFile(); - if (!parentDir.exists()) - parentDir.mkdirs(); + File config = new File(fileName); + File parentDir = config.getParentFile(); + if (!parentDir.exists()) + parentDir.mkdirs(); FileWriter configWriter = new FileWriter(config); properties.store(configWriter, null); diff --git a/java/yalter/mousetweaks/Constants.java b/java/yalter/mousetweaks/Constants.java index f021b6a..0d7dfb6 100644 --- a/java/yalter/mousetweaks/Constants.java +++ b/java/yalter/mousetweaks/Constants.java @@ -18,9 +18,9 @@ public class Constants { public static final String MCPROFILER_FORGE_NAME = "field_71424_I"; // MCP names - these are the same as Forge ones for the most part - public static final String ISMOUSEOVERSLOT_MCP_NAME = "isMouseOverSlot"; - public static final String FIELDE_MCP_NAME = "ignoreMouseUp"; - public static final String FIELDq_MCP_NAME = "dragSplitting"; + public static final String ISMOUSEOVERSLOT_MCP_NAME = "isMouseOverSlot"; + public static final String FIELDE_MCP_NAME = "ignoreMouseUp"; + public static final String FIELDq_MCP_NAME = "dragSplitting"; public static final String MCPROFILER_MCP_NAME = "mcProfiler"; // OnTick methods diff --git a/java/yalter/mousetweaks/Main.java b/java/yalter/mousetweaks/Main.java index 9b32a84..01e0bf4 100644 --- a/java/yalter/mousetweaks/Main.java +++ b/java/yalter/mousetweaks/Main.java @@ -331,7 +331,7 @@ public class Main extends DeobfuscationLayer { if ((Main.RMBTweak == 1) && !Main.DisableRMBTweak) { if ((stackOnMouse != null) && areStacksCompatible(stackOnMouse, targetStack) - && !isCraftingOutputSlot(currentScreen, selectedSlot)) { + && !isCraftingOutputSlot(currentScreen, selectedSlot)) { if ((firstSlot != null) && !firstSlotClicked) { firstSlotClicked = true; disableRMBDragWithID(currentScreen); @@ -354,13 +354,13 @@ public class Main extends DeobfuscationLayer { clickSlot(currentScreen, selectedSlot, 0, true); } else { // If shift is not down, we need to merge the item stack on the mouse with the one in the slot. if ((getItemStackSize(stackOnMouse) + getItemStackSize(targetStack)) <= getMaxItemStackSize(stackOnMouse)) { - // We need to click on the slot so that our item stack gets merged with it, - // and then click again to return the stack to the mouse. - // However, if the slot is crafting output, then the item is added to the mouse stack - // on the first click and we don't need to click the second time. + // We need to click on the slot so that our item stack gets merged with it, + // and then click again to return the stack to the mouse. + // However, if the slot is crafting output, then the item is added to the mouse stack + // on the first click and we don't need to click the second time. clickSlot(currentScreen, selectedSlot, 0, false); - if (!isCraftingOutputSlot(currentScreen, selectedSlot)) - clickSlot(currentScreen, selectedSlot, 0, false); + if (!isCraftingOutputSlot(currentScreen, selectedSlot)) + clickSlot(currentScreen, selectedSlot, 0, false); } } }