Use given variables to condense code

This commit is contained in:
GotoLink 2013-10-28 20:41:41 +01:00
commit 578051b530
13 changed files with 27 additions and 74 deletions

View file

@ -54,7 +54,7 @@ public class ItemStaffParts extends Item {
public void registerIcons(IconRegister iconRegister) {
icons = new Icon[STAFF_PARTS.length];
for (int i = 0; i < STAFF_PARTS.length; ++i) {
icons[i] = iconRegister.registerIcon("MysticMods:StaffPart_" + STAFF_PARTS[i]);
icons[i] = iconRegister.registerIcon("mysticmods:StaffPart_" + STAFF_PARTS[i]);
}
}
}