0.7.8 done

This commit is contained in:
Raoul Van den Berge
2016-06-05 00:11:04 +02:00
parent 19340968b2
commit 3168a98c21
2 changed files with 8 additions and 2 deletions

View File

@@ -1,5 +1,10 @@
# Refined Storage Changelog
### 0.7.8
**Bugfixes**
- Improved Grid performance
- Fixed crash on some worlds
### 0.7.7
**Bugfixes**
- Fixed buggy reequip animation on wireless grid

View File

@@ -13,7 +13,6 @@ import net.minecraft.nbt.NBTTagList;
import net.minecraft.util.EnumFacing;
import net.minecraftforge.common.util.Constants;
import net.minecraftforge.fml.common.network.ByteBufUtils;
import net.minecraftforge.items.ItemHandlerHelper;
import refinedstorage.RefinedStorage;
import refinedstorage.RefinedStorageBlocks;
import refinedstorage.RefinedStorageUtils;
@@ -343,7 +342,9 @@ public class TileController extends TileBase implements IEnergyReceiver, ISynchr
if (RefinedStorageUtils.compareStackNoQuantity(stack, otherStack)) {
// We copy here so we don't modify the quantity of the ItemStack IStorage uses.
// We re-get the ItemStack because the stack may change from a previous iteration in this loop
items.set(i, ItemHandlerHelper.copyStackWithSize(items.get(i), items.get(i).stackSize + otherStack.stackSize));
ItemStack newStack = items.get(i).copy();
newStack.stackSize += otherStack.stackSize;
items.set(i, newStack);
combinedItems.add(otherStack);
combinedItemsIndices.add(j);