summaryrefslogtreecommitdiff
path: root/ihl/collector/ChargerEjectorTileEntity.java
diff options
context:
space:
mode:
Diffstat (limited to 'ihl/collector/ChargerEjectorTileEntity.java')
-rw-r--r--ihl/collector/ChargerEjectorTileEntity.java7
1 files changed, 4 insertions, 3 deletions
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<EntityItem> eItemsList = this.getEItemsList();
if(eItemsList!=null && eItemsList.size()>0)
{
- Iterator ei = eItemsList.iterator();
+ Iterator<EntityItem> ei = eItemsList.iterator();
while(ei.hasNext())
{
EntityItem entity=(EntityItem) ei.next();
@@ -413,7 +412,8 @@ public class ChargerEjectorTileEntity extends TileEntityInventory implements IEn
}
}
- protected List<EntityItem> getEItemsList()
+ @SuppressWarnings("unchecked")
+ protected List<EntityItem> 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;