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/handpump/IHLHandPump.java | |
| parent | ffe23313fb7421b0a1849b420baf708999023f7b (diff) | |
License, readme and stuff
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));
|
