Name simplification for collection

This commit is contained in:
2024-03-16 07:57:17 -04:00
parent 13bf6e6f5a
commit ac2403362e
22 changed files with 46 additions and 46 deletions
+2 -2
View File
@@ -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);