Auto remove un needed things in the code
This commit is contained in:
parent
7e7fcf2ad9
commit
510f969c94
105 changed files with 141 additions and 348 deletions
|
@ -175,7 +175,7 @@ public class CraftingInfoPage extends TitledPage
|
|||
{
|
||||
if (formattedDescription == null)
|
||||
{
|
||||
formattedDescription = new ArrayList<String>();
|
||||
formattedDescription = new ArrayList<>();
|
||||
|
||||
if (Strings.isNullOrEmpty(rawDescription))
|
||||
{
|
||||
|
@ -265,7 +265,7 @@ public class CraftingInfoPage extends TitledPage
|
|||
private ItemStack[] getFirstRecipeForItem(ItemStack resultingItem)
|
||||
{
|
||||
ItemStack[] recipeItems = new ItemStack[9];
|
||||
for (IRecipe recipe : (List<IRecipe>) CraftingManager.getInstance().getRecipeList())
|
||||
for (IRecipe recipe : CraftingManager.getInstance().getRecipeList())
|
||||
{
|
||||
if (recipe == null)
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue