diff --git a/src/main/java/emu/grasscutter/utils/Position.java b/src/main/java/emu/grasscutter/utils/Position.java index c143c0e39..29eb5ebce 100644 --- a/src/main/java/emu/grasscutter/utils/Position.java +++ b/src/main/java/emu/grasscutter/utils/Position.java @@ -4,15 +4,19 @@ import com.github.davidmoten.rtreemulti.geometry.Point; import com.google.gson.annotations.SerializedName; import dev.morphia.annotations.Entity; import emu.grasscutter.net.proto.VectorOuterClass.Vector; -import java.io.Serializable; -import java.util.List; import lombok.Getter; import lombok.Setter; +import java.io.Serializable; +import java.util.List; + @Entity public class Position implements Serializable { private static final long serialVersionUID = -2001232313615923575L; + public static final Position ZERO = new Position(0, 0, 0); + public static final Position IDENTITY = new Position(0, 0); + @SerializedName( value = "x", alternate = {"_x", "X"})