From 2db8e30b1d2151fdde5d08a6c06aef55f0c397d2 Mon Sep 17 00:00:00 2001 From: Foghrye4 Date: Fri, 27 Jan 2017 11:32:28 +0300 Subject: License, readme and stuff --- ihl/collector/ChargerEjectorTileEntity.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'ihl/collector/ChargerEjectorTileEntity.java') diff --git a/ihl/collector/ChargerEjectorTileEntity.java b/ihl/collector/ChargerEjectorTileEntity.java index fdb18ed..cda75f4 100644 --- a/ihl/collector/ChargerEjectorTileEntity.java +++ b/ihl/collector/ChargerEjectorTileEntity.java @@ -26,7 +26,6 @@ import ic2.core.IHasGui; import ic2.core.block.TileEntityInventory; import ic2.core.block.invslot.InvSlot; import ic2.core.block.invslot.InvSlot.Access; -import ic2.core.network.NetworkManager; import ihl.IHLMod; import ihl.utils.IHLInvSlotDischarge; @@ -184,7 +183,7 @@ public class ChargerEjectorTileEntity extends TileEntityInventory implements IEn List eItemsList = this.getEItemsList(); if(eItemsList!=null && eItemsList.size()>0) { - Iterator ei = eItemsList.iterator(); + Iterator ei = eItemsList.iterator(); while(ei.hasNext()) { EntityItem entity=(EntityItem) ei.next(); @@ -413,7 +412,8 @@ public class ChargerEjectorTileEntity extends TileEntityInventory implements IEn } } - protected List getEItemsList() + @SuppressWarnings("unchecked") + protected List getEItemsList() { double range = 0.2D; AxisAlignedBB searchArea = AxisAlignedBB.getBoundingBox(this.xCoord-range,this.yCoord,this.zCoord-range,this.xCoord+1.0D+range,this.yCoord+1.0D+range,this.zCoord+1.0D+range); @@ -477,6 +477,7 @@ public class ChargerEjectorTileEntity extends TileEntityInventory implements IEn } } + @SuppressWarnings("unchecked") private void callCollectors() { double range = 64D; -- cgit v1.2.3