Use given variables to condense code
This commit is contained in:
parent
e8c86a8c92
commit
578051b530
13 changed files with 27 additions and 74 deletions
|
|
@ -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]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue