mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-27 15:17:59 +01:00
Fixed apples appearing where they shouldn't
This commit is contained in:
parent
d3ddd47ed5
commit
70871975c0
1 changed files with 5 additions and 3 deletions
|
@ -121,10 +121,12 @@ public class ItemApple extends ItemFood {
|
|||
|
||||
@Override
|
||||
public void getSubItems(CreativeTabs tab, NonNullList<ItemStack> items) {
|
||||
if (isInCreativeTab(tab)) {
|
||||
for (int i = 0; i < subTypes.length; i++) {
|
||||
items.add(new ItemStack(UItems.apple, 1, i));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public EnumRarity getRarity(ItemStack stack) {
|
||||
|
|
Loading…
Reference in a new issue