Update changelog

This commit is contained in:
Raoul Van den Berge
2016-10-14 22:57:44 +02:00
parent 206f909478
commit 15442d8603
2 changed files with 6 additions and 6 deletions

View File

@@ -7,7 +7,6 @@ import net.minecraft.block.state.IBlockState;
import net.minecraft.entity.Entity;
import net.minecraft.entity.item.EntityItem;
import net.minecraft.inventory.InventoryHelper;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.network.datasync.DataSerializers;
@@ -108,11 +107,11 @@ public class TileDestructor extends TileMultipartNode implements IComparable, IF
for (Entity entity : droppedItems) {
if (entity instanceof EntityItem) {
ItemStack droppedItem = ((EntityItem) entity).getEntityItem();
if (IFilterable.canTake(itemFilters, mode, compare, droppedItem)) {
if (network.insertItem(droppedItem, droppedItem.stackSize, true) == null) {
network.insertItem(droppedItem.copy(), droppedItem.stackSize, false);
worldObj.removeEntity(entity);
}
if (IFilterable.canTake(itemFilters, mode, compare, droppedItem) && network.insertItem(droppedItem, droppedItem.stackSize, true) == null) {
network.insertItem(droppedItem.copy(), droppedItem.stackSize, false);
worldObj.removeEntity(entity);
break;
}