changed IExtendedStorage interface
This commit is contained in:
parent
5f50373ba6
commit
2866b49088
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue