Name simplification for collection
This commit is contained in:
@@ -62,7 +62,7 @@ public class MakeItemCmd extends AbstractDevCmd {
|
||||
ItemTemplate template;
|
||||
try {
|
||||
templateID = Integer.parseInt(words[0]);
|
||||
template = ItemTemplate.itemTemplates.get(words[0].toLowerCase());
|
||||
template = ItemTemplate.templates.get(words[0].toLowerCase());
|
||||
|
||||
if (template == null) {
|
||||
throwbackError(pc, "Supplied type " + words[0]
|
||||
@@ -132,7 +132,7 @@ public class MakeItemCmd extends AbstractDevCmd {
|
||||
return;
|
||||
}
|
||||
}
|
||||
template = ItemTemplate.itemTemplates.get(templateID);
|
||||
template = ItemTemplate.templates.get(templateID);
|
||||
|
||||
if (template == null) {
|
||||
throwbackError(pc, "Unable to find template " + templateID);
|
||||
|
||||
Reference in New Issue
Block a user