Unloading/deleting world

Discussion in 'Spigot Help' started by swendel, Jun 13, 2018.

  1. Hi! Another problem. I can't seem to unload a world. Can anyone help me here?
    My code:

    Bukkit.unloadWorld(player, false);
    FileUtils.deleteDirectory(w.getWorldFolder());
    Error: http://prntscr.com/juaxqc