mirror of
https://github.com/ViaVersion/ViaBackwards.git
synced 2024-11-14 10:55:20 +01:00
parent
9d8aa9a232
commit
ac86d891fe
@ -86,6 +86,9 @@ public class EnchantmentRewriter {
|
||||
while (iterator.hasNext()) {
|
||||
CompoundTag enchantmentEntry = iterator.next();
|
||||
StringTag idTag = enchantmentEntry.getStringTag("id");
|
||||
if (idTag == null) {
|
||||
continue;
|
||||
}
|
||||
|
||||
String enchantmentId = idTag.getValue();
|
||||
String remappedName = enchantmentMappings.get(enchantmentId);
|
||||
|
Loading…
Reference in New Issue
Block a user