summaryrefslogtreecommitdiff
path: root/ihl/handpump
diff options
context:
space:
mode:
Diffstat (limited to 'ihl/handpump')
-rw-r--r--ihl/handpump/AdvancedHandPump.java2
-rw-r--r--ihl/handpump/IHLHandPump.java6
2 files changed, 5 insertions, 3 deletions
diff --git a/ihl/handpump/AdvancedHandPump.java b/ihl/handpump/AdvancedHandPump.java
index dc13ce2..c655391 100644
--- a/ihl/handpump/AdvancedHandPump.java
+++ b/ihl/handpump/AdvancedHandPump.java
@@ -245,7 +245,7 @@ public class AdvancedHandPump extends IHLHandPump {
}
else {break;}
}
- List<XYZ> xyzlist = new ArrayList();
+ List<XYZ> xyzlist = new ArrayList<XYZ>();
if(currentFlowDecay==0)
{
xyzlist.add(new XYZ(startx, starty, startz));
diff --git a/ihl/handpump/IHLHandPump.java b/ihl/handpump/IHLHandPump.java
index b04b3a0..29192e2 100644
--- a/ihl/handpump/IHLHandPump.java
+++ b/ihl/handpump/IHLHandPump.java
@@ -182,13 +182,14 @@ public class IHLHandPump extends Item implements IElectricItem, IBoxable, IItemH
@Override
public List<String> getHudInfo(ItemStack itemStack) {
- LinkedList info = new LinkedList();
+ LinkedList<String> info = new LinkedList<String>();
info.add(ElectricItem.manager.getToolTip(itemStack));
info.add("Power Tier: " + this.tier);
return info;
}
- @Override
+ @SuppressWarnings({ "unchecked", "rawtypes" })
+ @Override
public void addInformation(ItemStack itemStack, EntityPlayer player, List info, boolean b)
{
info.add("PowerTier: " + this.tier);
@@ -207,6 +208,7 @@ public class IHLHandPump extends Item implements IElectricItem, IBoxable, IItemH
@Override
@SideOnly(Side.CLIENT)
+ @SuppressWarnings({ "unchecked", "rawtypes" })
public void getSubItems(Item item, CreativeTabs tabs, List itemList)
{
itemList.add(this.getItemStack(this.maxCharge));