Skip to content

Commit

Permalink
Fixes creative tab leak
Browse files Browse the repository at this point in the history
  • Loading branch information
tyra314 committed Jul 8, 2017
1 parent 198ea9f commit 3008088
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/appeng/items/AEBaseItem.java
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ public final void addInformation( final ItemStack stack, final World world, fina
@SuppressWarnings( "unchecked" )
public final void getSubItems( final CreativeTabs creativeTab, final NonNullList<ItemStack> itemStacks )
{
this.getCheckedSubItems( creativeTab, itemStacks );
if(isInCreativeTab(creativeTab))
this.getCheckedSubItems( creativeTab, itemStacks );
}

@Override
Expand Down

0 comments on commit 3008088

Please sign in to comment.