mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-21 20:42:35 +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
@@ -52,9 +52,8 @@ public class BlockStump extends BlockTorch implements IItemModelRegister {
|
||||
manager.registerItemModel(item, 0, "stump");
|
||||
}
|
||||
|
||||
@SuppressWarnings({"rawtypes", "unchecked"})
|
||||
@Override
|
||||
public void getSubBlocks(Item item, CreativeTabs par2CreativeTabs, List itemList) {
|
||||
public void getSubBlocks(Item item, CreativeTabs par2CreativeTabs, List<ItemStack> itemList) {
|
||||
itemList.add(new ItemStack(this, 1, 0));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user