Big cleanup (begone unchecked warnings!)

This commit is contained in:
Vincent Lee committed 2016-02-01 00:08:10 -06:00
1 parent edceea8922
commit 576362e400
237 files changed
+360 -462

No files matched your search

@@ -121,7 +121,7 @@ public class BlockFloatingSpecialFlower extends BlockFloatingFlower implements I
}
@Override
public void getSubBlocks(Item par1, CreativeTabs par2CreativeTabs, List par3List) {
public void getSubBlocks(Item par1, CreativeTabs par2CreativeTabs, List<ItemStack> par3List) {
for(String s : BotaniaAPI.subtilesForCreativeMenu) {
par3List.add(ItemBlockSpecialFlower.ofType(new ItemStack(par1), s));
if(BotaniaAPI.miniFlowers.containsKey(s))
@@ -146,7 +146,7 @@ public class BlockFloatingSpecialFlower extends BlockFloatingFlower implements I
@Override
public List<ItemStack> getDrops(IBlockAccess world, BlockPos pos, IBlockState state, int fortune) {
ArrayList<ItemStack> list = new ArrayList();
ArrayList<ItemStack> list = new ArrayList<>();
TileEntity tile = world.getTileEntity(pos);
if(tile != null) {