Permalink
Browse files

Added some explanatory text about corrupt worlds

  • Loading branch information...
1 parent 3938d18 commit 095b87b66755107ea724d2ed72da226d824711ac @eminence eminence committed Dec 19, 2016
Showing with 6 additions and 0 deletions.
  1. +6 −0 overviewer.py
View
@@ -613,6 +613,12 @@ def list_worlds():
playstamp = ""
path = info['path']
print(formatString % (name, playstamp, timestamp, path))
+ found_corrupt = any([x.get("IsCorrupt") for x in worlds.values()])
+ if found_corrupt:
+ print("")
+ print("An error has been detected in one or more of your worlds (see the above table).")
+ print("This is usually due to a corrupt level.dat file. Corrupt worlds need to be")
+ print("repaired before Overviewer can render them.")
if __name__ == "__main__":
multiprocessing.freeze_support()

0 comments on commit 095b87b

Please sign in to comment.