9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2025-12-28 03:29:06 +00:00

fix using Type::toString instead of Type::getId for mmoitems

This commit is contained in:
CrazyDev22
2024-04-01 23:18:41 +02:00
parent 93690b766c
commit d0f16dbbc4

View File

@@ -63,7 +63,7 @@ public class MMOItemsDataProvider extends ExternalDataProvider {
for (Type type : api().getTypes().getAll()) {
for (String name : api().getTemplates().getTemplateNames(type)) {
try {
Identifier key = new Identifier("mmoitems_" + type, name);
Identifier key = new Identifier("mmoitems_" + type.getId(), name);
if (getItemStack(key) != null)
names.add(key);
} catch (MissingResourceException ignored) {