Simplified some control flow statements
This commit is contained in:
@@ -120,11 +120,7 @@ public class CraftGuide extends CraftGuideAPIObject implements IIntegrationModul
|
||||
|
||||
Object[] items = generator.getCraftingRecipe( recipe, true );
|
||||
|
||||
if ( items == null )
|
||||
{
|
||||
continue;
|
||||
}
|
||||
else if ( items.length == 5 )
|
||||
if ( items.length == 5 )
|
||||
{
|
||||
generator.addRecipe( templateSmall, items );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user