Code cleanup
This commit is contained in:
parent
d928ed4bb3
commit
4b430edfd7
2 changed files with 4 additions and 4 deletions
|
@ -65,9 +65,9 @@ public class ItemComponent extends Item implements IAirCanister {
|
|||
}
|
||||
|
||||
@Override
|
||||
public void getSubItems(Item par1, CreativeTabs par2CreativeTabs, List par3List) {
|
||||
public void getSubItems(Item item, CreativeTabs creativeTab, List list) {
|
||||
for(ComponentType componentType : ComponentType.values()) {
|
||||
par3List.add(new ItemStack(par1, 1, componentType.ordinal()));
|
||||
list.add(new ItemStack(item, 1, componentType.ordinal()));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -59,9 +59,9 @@ public class ItemUpgrade extends Item {
|
|||
}
|
||||
|
||||
@Override
|
||||
public void getSubItems(Item par1, CreativeTabs par2CreativeTabs, List par3List) {
|
||||
public void getSubItems(Item item, CreativeTabs creativeTab, List list) {
|
||||
for (UpgradeType upgradeType : UpgradeType.values()) {
|
||||
par3List.add(getItemStack(upgradeType));
|
||||
list.add(getItemStack(upgradeType));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue