From 4b430edfd74123134169a7709229ae7df37ec46b Mon Sep 17 00:00:00 2001 From: LemADEC Date: Tue, 12 Jan 2016 05:18:26 +0100 Subject: [PATCH] Code cleanup --- src/main/java/cr0s/warpdrive/item/ItemComponent.java | 4 ++-- src/main/java/cr0s/warpdrive/item/ItemUpgrade.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/cr0s/warpdrive/item/ItemComponent.java b/src/main/java/cr0s/warpdrive/item/ItemComponent.java index 94b81705..3d666742 100644 --- a/src/main/java/cr0s/warpdrive/item/ItemComponent.java +++ b/src/main/java/cr0s/warpdrive/item/ItemComponent.java @@ -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())); } } diff --git a/src/main/java/cr0s/warpdrive/item/ItemUpgrade.java b/src/main/java/cr0s/warpdrive/item/ItemUpgrade.java index a71fdfbb..3662e7f9 100644 --- a/src/main/java/cr0s/warpdrive/item/ItemUpgrade.java +++ b/src/main/java/cr0s/warpdrive/item/ItemUpgrade.java @@ -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)); } }