changed IExtendedStorage interface

This commit is contained in:
Robert 2013-11-11 16:02:51 -05:00
parent 5f50373ba6
commit 2866b49088
2 changed files with 2 additions and 2 deletions

View file

@ -9,5 +9,5 @@ import universalelectricity.core.vector.Vector3;
* @author DarkGuardsman */
public interface IExtendedStorage
{
public ItemStack addStackToCrate(World world, Vector3 loc, ItemStack stack);
public ItemStack addStackToStorage(ItemStack stack);
}

View file

@ -132,7 +132,7 @@ public class InvInteractionHelper
}
else if (tileEntity instanceof IExtendedStorage)
{
return ((IExtendedStorage) tileEntity).addStackToCrate(world, location, itemStack);
return ((IExtendedStorage) tileEntity).addStackToStorage(itemStack);
}
else if (tileEntity instanceof ISidedInventory)
{