Missing Annotation

This commit is contained in:
Frank 2023-12-21 23:33:33 +01:00
parent 4632d38d46
commit 60237175ff

View file

@ -3,6 +3,8 @@ package org.betterx.bclib.api.v2.levelgen.structures;
import com.mojang.serialization.Codec; import com.mojang.serialization.Codec;
import net.minecraft.util.StringRepresentable; import net.minecraft.util.StringRepresentable;
import org.jetbrains.annotations.NotNull;
public enum StructurePlacementType implements StringRepresentable { public enum StructurePlacementType implements StringRepresentable {
FLOOR, WALL, CEIL, LAVA, UNDER; FLOOR, WALL, CEIL, LAVA, UNDER;
@ -13,7 +15,7 @@ public enum StructurePlacementType implements StringRepresentable {
} }
@Override @Override
public String getSerializedName() { public @NotNull String getSerializedName() {
return this.name().toLowerCase(); return this.name().toLowerCase();
} }
} }