From 1b862d084b2fb052d284012c77ce10408483ac0d Mon Sep 17 00:00:00 2001 From: KennyTV Date: Tue, 18 Aug 2020 10:06:52 +0200 Subject: [PATCH] Fix 1.13 component rewriter npe --- .../protocol1_13to1_12_2/data/ComponentRewriter1_13.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_13to1_12_2/data/ComponentRewriter1_13.java b/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_13to1_12_2/data/ComponentRewriter1_13.java index 7ce412e99..3309d692d 100644 --- a/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_13to1_12_2/data/ComponentRewriter1_13.java +++ b/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_13to1_12_2/data/ComponentRewriter1_13.java @@ -104,7 +104,7 @@ public class ComponentRewriter1_13 extends ComponentRewriter { super.handleTranslate(object, translate); String newTranslate; newTranslate = MappingData.translateMapping.get(translate); - if (newTranslate == null) { + if (newTranslate != null) { newTranslate = MappingData.mojangTranslation.get(translate); } if (newTranslate != null) {