Mirror von
https://github.com/ViaVersion/ViaBackwards.git
synchronisiert 2024-12-26 16:12:43 +01:00
Ursprung
9d8aa9a232
Commit
ac86d891fe
@ -86,6 +86,9 @@ public class EnchantmentRewriter {
|
|||||||
while (iterator.hasNext()) {
|
while (iterator.hasNext()) {
|
||||||
CompoundTag enchantmentEntry = iterator.next();
|
CompoundTag enchantmentEntry = iterator.next();
|
||||||
StringTag idTag = enchantmentEntry.getStringTag("id");
|
StringTag idTag = enchantmentEntry.getStringTag("id");
|
||||||
|
if (idTag == null) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
String enchantmentId = idTag.getValue();
|
String enchantmentId = idTag.getValue();
|
||||||
String remappedName = enchantmentMappings.get(enchantmentId);
|
String remappedName = enchantmentMappings.get(enchantmentId);
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren