summaryrefslogtreecommitdiff
path: root/ihl/datanet/RedstoneSignalConverterTileEntity.java
diff options
context:
space:
mode:
authorFoghrye4 <foghrye4@gmail.com>2017-01-27 11:32:28 +0300
committerFoghrye4 <foghrye4@gmail.com>2017-01-27 11:32:28 +0300
commit2db8e30b1d2151fdde5d08a6c06aef55f0c397d2 (patch)
treee8cd0022f3a30a5c952092e0ea4c7ffdafcdf7bb /ihl/datanet/RedstoneSignalConverterTileEntity.java
parentffe23313fb7421b0a1849b420baf708999023f7b (diff)
License, readme and stuff
Diffstat (limited to 'ihl/datanet/RedstoneSignalConverterTileEntity.java')
-rw-r--r--ihl/datanet/RedstoneSignalConverterTileEntity.java9
1 files changed, 3 insertions, 6 deletions
diff --git a/ihl/datanet/RedstoneSignalConverterTileEntity.java b/ihl/datanet/RedstoneSignalConverterTileEntity.java
index de1a4f7..6d36cb2 100644
--- a/ihl/datanet/RedstoneSignalConverterTileEntity.java
+++ b/ihl/datanet/RedstoneSignalConverterTileEntity.java
@@ -17,7 +17,6 @@ import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.nbt.NBTTagList;
import net.minecraft.server.MinecraftServer;
import net.minecraft.tileentity.TileEntity;
-import net.minecraft.util.AxisAlignedBB;
import net.minecraftforge.common.util.ForgeDirection;
import ic2.api.network.INetworkClientTileEntityEventListener;
import ic2.core.ContainerBase;
@@ -26,9 +25,7 @@ import ic2.core.IHasGui;
import ic2.core.Ic2Items;
import ic2.core.block.TileEntityInventory;
import ic2.core.block.invslot.InvSlot.Access;
-import ic2.core.network.NetworkManager;
import ihl.IHLMod;
-import ihl.flexible_cable.NodeEntity;
import ihl.interfaces.IDataCableHolder;
import ihl.interfaces.IDataNode;
import ihl.processing.invslots.InvSlotSignalProcessor;
@@ -63,7 +60,7 @@ public class RedstoneSignalConverterTileEntity extends TileEntityInventory imple
public RedstoneSignalConverterTileEntity()
{
sensorEmitterSlots = new InvSlotSignalProcessor(this, "sensorEmitterSlots", 0, Access.IO, 6, 2);
- cableList = new ArrayList();
+ cableList = new ArrayList<NBTTagCompound>();
dischargeSlot = new IHLInvSlotDischarge(this, 2, Access.IO, 4);
contacts[0]=new Contact(this,0,null,-1,0);
contacts[1]=new Contact(this,1,null,-1,1);
@@ -163,8 +160,8 @@ public class RedstoneSignalConverterTileEntity extends TileEntityInventory imple
super.updateEntityServer();
if(this.linksOrInventoryChanged && this.energy>0)
{
- Set<Integer> checkedGrids = new HashSet();
- Set<Integer> unCheckedGrids = new HashSet();
+ Set<Integer> checkedGrids = new HashSet<Integer>();
+ Set<Integer> unCheckedGrids = new HashSet<Integer>();
InvSlotSignalProcessor slots = this.sensorEmitterSlots;
for(int i=0;i<slots.size();i++)
{