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,9 +121,11 @@ public class ItemApple extends ItemFood {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void getSubItems(CreativeTabs tab, NonNullList<ItemStack> items) {
|
public void getSubItems(CreativeTabs tab, NonNullList<ItemStack> items) {
|
||||||
for (int i = 0; i < subTypes.length; i++) {
|
if (isInCreativeTab(tab)) {
|
||||||
items.add(new ItemStack(UItems.apple, 1, i));
|
for (int i = 0; i < subTypes.length; i++) {
|
||||||
}
|
items.add(new ItemStack(UItems.apple, 1, i));
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue