Merge pull request #2967 from HenryLoenwind/autoComplete

Use our Utils, not CCC's
This commit is contained in:
tterrag committed 2015-11-05 19:05:51 -05:00
commit 0089b5d976
1 file changed
+6 -3
@@ -1,6 +1,7 @@
package crazypants.util;
import codechicken.lib.inventory.InventoryUtils;
import com.enderio.core.common.util.Util;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.inventory.IInventory;
import net.minecraft.item.ItemStack;
@@ -29,12 +30,14 @@ public class ShadowInventory implements IInventory {
@Override
public ItemStack decrStackSize(int p_70298_1_, int p_70298_2_) {
return InventoryUtils.decrStackSize(this, p_70298_1_, p_70298_2_);
return Util.decrStackSize(this, p_70298_1_, p_70298_2_);
}
@Override
public ItemStack getStackInSlotOnClosing(int p_70304_1_) {
return InventoryUtils.getStackInSlotOnClosing(this, p_70304_1_);
ItemStack stack = getStackInSlot(p_70304_1_);
setInventorySlotContents(p_70304_1_, null);
return stack;
}
@Override