Solved How to serialize "Location" object?

Discussion in 'Spigot Plugin Development' started by Developer_ken, Jul 4, 2018.

  1. Code (Text):
    getConfig().set("location", location);
    It's literally that simple.

    Code (Text):
    Location location = getConfig().getLocation("location");
     
    • Agree Agree x 1
  2. Seems a good solution. Thanks.