Fix item attribute modifiers

This commit is contained in:
Camotoy 2024-06-14 16:48:46 -04:00
parent a9ba1ad603
commit 7e87af718b
No known key found for this signature in database
GPG key ID: 7EEFB66FE798081F
2 changed files with 2 additions and 2 deletions

View file

@ -247,7 +247,7 @@ public final class ItemTranslator {
return null;
}
String name = modifier.getName().replace("minecraft:", "");
String name = modifier.getId().asMinimalString();
// the namespace does not need to be present, but if it is, the java client ignores it as of pre-1.20.5
ModifierOperation operation = modifier.getOperation();