API/src/main/java/xyz/invisraidinq/rocketapi/api/serialization/SerializableLocation.java
/**
     * Deserialize an {@link Location} object
     *
     * @param location The location to deserialize as type {@link String}
     * @return The deserialized {@link Location}
     */
Deserialize an  Location object
@param location The location to deserialize as type  String
@return The deserialized  Location
Deserialize an Location object @param location The location to deserialize as type String @return The deserialized Location
public static Location deserialize(String location) {
        String[] data = location.split(";");
        return new Location(
                Bukkit.getWorld(data[0]),
                Double.parseDouble(data[1]),
                Double.parseDouble(data[2]),
                Double.parseDouble(data[3])
        );
    }
public static Location deserialize ( String location ) { String [ ] data = location . split ( ";" ) ; return new Location ( Bukkit . getWorld ( data [ 0 ] ) , Double . parseDouble ( data [ 1 ] ) , Double . parseDouble ( data [ 2 ] ) , Double . parseDouble ( data [ 3 ] ) ) ; }
Deserialize an {@link Location} object
 @param location The location to deserialize as type {@link String}
 @return The deserialized {@link Location}
Deserialize an { @link Location } object @param location The location to deserialize as type { @link String } @return The deserialized { @link Location }