diff --git a/api/src/main/java/com/viaversion/viaversion/api/data/FullMappingsBase.java b/api/src/main/java/com/viaversion/viaversion/api/data/FullMappingsBase.java index 2ddb6c44c..cd108b3e7 100644 --- a/api/src/main/java/com/viaversion/viaversion/api/data/FullMappingsBase.java +++ b/api/src/main/java/com/viaversion/viaversion/api/data/FullMappingsBase.java @@ -95,7 +95,7 @@ public class FullMappingsBase implements FullMappings { } @Override - public String mappedIdentifier(final int mappedId) { + public @Nullable String mappedIdentifier(final int mappedId) { if (mappedId < 0 || mappedId >= mappedIdToString.length) { return null; } diff --git a/common/src/main/java/com/viaversion/viaversion/protocols/v1_21to1_21_2/rewriter/ParticleRewriter1_21_2.java b/common/src/main/java/com/viaversion/viaversion/protocols/v1_21to1_21_2/rewriter/ParticleRewriter1_21_2.java index be256e3cf..369e28a9c 100644 --- a/common/src/main/java/com/viaversion/viaversion/protocols/v1_21to1_21_2/rewriter/ParticleRewriter1_21_2.java +++ b/common/src/main/java/com/viaversion/viaversion/protocols/v1_21to1_21_2/rewriter/ParticleRewriter1_21_2.java @@ -43,12 +43,12 @@ public final class ParticleRewriter1_21_2 extends ParticleRewriter