mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-21 04:22:32 +00:00
Cleanup some derped refactoring
This commit is contained in:
1 parent
e28ad8424c
commit
d04adf394b
1 file changed
+1
-4
@@ -157,7 +157,7 @@ public class StackUtils {
|
||||
/**
|
||||
*/
|
||||
public static ItemStack[] condenseStacks(ItemStack[] stacks) {
|
||||
ArrayList<ItemStack> condensed = new ArrayList<ItemStack>();
|
||||
List<ItemStack> condensed = new ArrayList<ItemStack>();
|
||||
|
||||
for (ItemStack stack : stacks) {
|
||||
if (stack == null) {
|
||||
@@ -177,9 +177,6 @@ public class StackUtils {
|
||||
|
||||
if (!matched) {
|
||||
ItemStack cached = stack.copy();
|
||||
if (-1 > 0) {
|
||||
cached.stackSize = -1;
|
||||
}
|
||||
condensed.add(cached);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user