Advertisement
Guest User

Untitled

a guest
Aug 15th, 2017
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. /**
  2. * Get save location for Minecolonies data, from the world/save directory.
  3. *
  4. * @return Save file for minecolonies.
  5. */
  6. @NotNull
  7. private static File getSaveLocation()
  8. {
  9. @NotNull final File saveDir = new File(DimensionManager.getWorld(0).getSaveHandler().getWorldDirectory(), FILENAME_MINECOLONIES_PATH);
  10. return new File(saveDir, FILENAME_MINECOLONIES);
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement