mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-11-02 08:39:59 +01:00
Fix 1.13 component rewriter npe
This commit is contained in:
parent
be6e086aac
commit
1b862d084b
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user