diff options
Diffstat (limited to 'ihl/handpump/IHLHandPump.java')
| -rw-r--r-- | ihl/handpump/IHLHandPump.java | 6 |
1 files changed, 4 insertions, 2 deletions
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));
|
