From 2866b49088c64b21512cae79b7acac1d810f1cf1 Mon Sep 17 00:00:00 2001 From: Robert Date: Mon, 11 Nov 2013 16:02:51 -0500 Subject: [PATCH] changed IExtendedStorage interface --- src/dark/api/IExtendedStorage.java | 2 +- src/dark/core/helpers/InvInteractionHelper.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dark/api/IExtendedStorage.java b/src/dark/api/IExtendedStorage.java index 4cf5bbed2..476d9ccb0 100644 --- a/src/dark/api/IExtendedStorage.java +++ b/src/dark/api/IExtendedStorage.java @@ -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); } diff --git a/src/dark/core/helpers/InvInteractionHelper.java b/src/dark/core/helpers/InvInteractionHelper.java index b1d923b98..f3e4d3a82 100644 --- a/src/dark/core/helpers/InvInteractionHelper.java +++ b/src/dark/core/helpers/InvInteractionHelper.java @@ -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) {