diff options
| author | Foghrye4 <foghrye4@gmail.com> | 2017-01-27 11:32:28 +0300 |
|---|---|---|
| committer | Foghrye4 <foghrye4@gmail.com> | 2017-01-27 11:32:28 +0300 |
| commit | 2db8e30b1d2151fdde5d08a6c06aef55f0c397d2 (patch) | |
| tree | e8cd0022f3a30a5c952092e0ea4c7ffdafcdf7bb /ihl/collector/ChargerEjectorTileEntity.java | |
| parent | ffe23313fb7421b0a1849b420baf708999023f7b (diff) | |
License, readme and stuff
Diffstat (limited to 'ihl/collector/ChargerEjectorTileEntity.java')
| -rw-r--r-- | ihl/collector/ChargerEjectorTileEntity.java | 7 |
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;
|
