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/items_blocks/FlexiblePipeItem.java | |
| parent | ffe23313fb7421b0a1849b420baf708999023f7b (diff) | |
License, readme and stuff
Diffstat (limited to 'ihl/items_blocks/FlexiblePipeItem.java')
| -rw-r--r-- | ihl/items_blocks/FlexiblePipeItem.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ihl/items_blocks/FlexiblePipeItem.java b/ihl/items_blocks/FlexiblePipeItem.java index 5de333f..5f1522e 100644 --- a/ihl/items_blocks/FlexiblePipeItem.java +++ b/ihl/items_blocks/FlexiblePipeItem.java @@ -21,10 +21,8 @@ import ihl.utils.IHLUtils; public class FlexiblePipeItem extends Item implements IWire {
- private static Map<Integer, IIcon> iconMap = new HashMap();
- private static Map<Integer, String> nameMap = new HashMap();
- private static Map<Integer, String> infoMap = new HashMap();
- private static Map<Integer, Type> materialMap = new HashMap();
+ private static Map<Integer, IIcon> iconMap = new HashMap<Integer, IIcon>();
+ private static Map<Integer, String> nameMap = new HashMap<Integer, String>();
public FlexiblePipeItem()
{
@@ -46,7 +44,8 @@ public class FlexiblePipeItem extends Item implements IWire { }
}
- @Override
+ @SuppressWarnings({ "rawtypes", "unchecked" })
+ @Override
@SideOnly(Side.CLIENT)
public void getSubItems(Item item, CreativeTabs tabs, List itemList)
{
@@ -62,6 +61,7 @@ public class FlexiblePipeItem extends Item implements IWire { }
@Override
+ @SuppressWarnings({ "rawtypes", "unchecked" })
public void addInformation(ItemStack itemStack, EntityPlayer player, List info, boolean flag)
{
if(itemStack.stackTagCompound!=null)
|
