mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-01-06 15:51:30 +00:00
fix using Type::toString instead of Type::getId for mmoitems
This commit is contained in:
@@ -63,7 +63,7 @@ public class MMOItemsDataProvider extends ExternalDataProvider {
|
|||||||
for (Type type : api().getTypes().getAll()) {
|
for (Type type : api().getTypes().getAll()) {
|
||||||
for (String name : api().getTemplates().getTemplateNames(type)) {
|
for (String name : api().getTemplates().getTemplateNames(type)) {
|
||||||
try {
|
try {
|
||||||
Identifier key = new Identifier("mmoitems_" + type, name);
|
Identifier key = new Identifier("mmoitems_" + type.getId(), name);
|
||||||
if (getItemStack(key) != null)
|
if (getItemStack(key) != null)
|
||||||
names.add(key);
|
names.add(key);
|
||||||
} catch (MissingResourceException ignored) {
|
} catch (MissingResourceException ignored) {
|
||||||
|
|||||||
Reference in New Issue
Block a user