Small Cleanup (#68)

Co-authored-by: Martin Robertz <[email protected]>
This commit is contained in:
glowredmanandMartin Robertz authored and GitHub committed 2025-01-13 00:13:56 -06:00
1 parent f5a21fe41e
commit e8fb04df37
196 files changed
+887 -543

No files matched your search

@@ -51,8 +51,8 @@ import cpw.mods.fml.common.registry.GameRegistry;
public class BlockSpecialFlower extends BlockFlower implements ITileEntityProvider, ISpecialFlower, IWandable, ILexiconable, IWandHUD {
public static Map<String, IIcon> icons = new HashMap();
public static Map<String, IIcon> iconsAlt = new HashMap();
public static Map<String, IIcon> icons = new HashMap<>();
public static Map<String, IIcon> iconsAlt = new HashMap<>();
static {
BotaniaAPI.subtilesForCreativeMenu.addAll(Arrays.asList(new String[] {
@@ -207,7 +207,7 @@ public class BlockSpecialFlower extends BlockFlower implements ITileEntityProvid
@Override
public ArrayList<ItemStack> getDrops(World world, int x, int y, int z, int metadata, int fortune) {
ArrayList<ItemStack> list = new ArrayList();
ArrayList<ItemStack> list = new ArrayList<>();
TileEntity tile = world.getTileEntity(x, y, z);
if(tile != null) {