Mirror von
https://github.com/ViaVersion/ViaBackwards.git
synchronisiert 2024-07-27 01:18:04 +02:00
Fix npe in 1.13 enchant remaps
Dieser Commit ist enthalten in:
Ursprung
92e9eab85e
Commit
d124b2ddfe
|
@ -710,7 +710,7 @@ public class BlockItemPackets1_13 extends BlockItemRewriter<Protocol1_12_2To1_13
|
|||
if (enchantmentMappings.containsKey(newId)) {
|
||||
lore.add(new StringTag("", enchantmentMappings.get(newId)));
|
||||
noMapped.add(enchantmentEntry);
|
||||
} else {
|
||||
} else if (!newId.isEmpty()) {
|
||||
dummyEnchatment = false;
|
||||
Short oldId = MappingData.oldEnchantmentsIds.inverse().get(newId);
|
||||
if (oldId == null && newId.startsWith("viaversion:legacy/")) {
|
||||
|
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren