mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-25 22:34:33 +00:00
Use the generic types now available in 1.8+. remove warning suppressions
This commit is contained in:
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));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user