reformat + optimize imports

This commit is contained in:
Raoul Van den Berge
2015-12-29 12:04:22 +01:00
parent 62d3f0436c
commit b4c3a32806
84 changed files with 178 additions and 281 deletions

9
src/main/java/storagecraft/util/InventoryUtils.java Normal file → Executable file
View File

@@ -107,8 +107,7 @@ public class InventoryUtils
if (slot == null)
{
inventory.setInventorySlotContents(i, stack);
}
else if (compareStackNoQuantity(slot, stack))
} else if (compareStackNoQuantity(slot, stack))
{
slot.stackSize += stack.stackSize;
}
@@ -144,8 +143,7 @@ public class InventoryUtils
inventory.setInventorySlotContents(i, stack);
return;
}
else if (compareStackNoQuantity(slot, stack))
} else if (compareStackNoQuantity(slot, stack))
{
int toAdd = toGo;
@@ -177,8 +175,7 @@ public class InventoryUtils
if (slot == null)
{
return true;
}
else if (compareStackNoQuantity(slot, stack))
} else if (compareStackNoQuantity(slot, stack))
{
int toAdd = toGo;