Use the generic types now available in 1.8+. remove warning suppressions

This commit is contained in:
mezz committed 2016-03-04 00:36:47 -08:00
1 parent 2ddad6ec37
commit 626d0d8fb5
60 files changed
+56 -137

No files matched your search

@@ -154,10 +154,9 @@ public class BlockMushroom extends BlockBush implements IItemTyped, IItemModelRe
}
/* ICONS */
@SuppressWarnings({"unchecked", "rawtypes"})
@SideOnly(Side.CLIENT)
@Override
public void getSubBlocks(Item item, CreativeTabs tab, List list) {
public void getSubBlocks(Item item, CreativeTabs tab, List<ItemStack> list) {
list.add(new ItemStack(item, 1, 0));
list.add(new ItemStack(item, 1, 1));
}