Code cleanup

This commit is contained in:
LemADEC 2016-01-12 05:18:26 +01:00
parent d928ed4bb3
commit 4b430edfd7
2 changed files with 4 additions and 4 deletions

View file

@ -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()));
}
}

View file

@ -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));
}
}