reformat + optimize imports
This commit is contained in:
9
src/main/java/storagecraft/util/InventoryUtils.java
Normal file → Executable file
9
src/main/java/storagecraft/util/InventoryUtils.java
Normal file → Executable 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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user