Fix 1.13 component rewriter npe

This commit is contained in:
KennyTV 2020-08-18 10:06:52 +02:00
parent be6e086aac
commit 1b862d084b
No known key found for this signature in database
GPG Key ID: 6BE3B555EBC5982B

View File

@ -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) {