diff --git a/chunk.py b/chunk.py index a2c90dd..454a7de 100644 --- a/chunk.py +++ b/chunk.py @@ -626,8 +626,8 @@ class ChunkRenderer(object): # coordinates to global world coordinates newPOI = dict(type="sign", x= entity['x'], - y= entity['z'], - z= entity['y'], + y= entity['y'], + z= entity['z'], msg="%s\n%s\n%s\n%s" % (entity['Text1'], entity['Text2'], entity['Text3'], entity['Text4']), chunk= (self.chunkX, self.chunkY), diff --git a/gmap.py b/gmap.py index 1021c43..43f37b0 100755 --- a/gmap.py +++ b/gmap.py @@ -145,6 +145,12 @@ def delete_all(worlddir, tiledir): logging.info("Deleting {0}".format(filepath)) os.unlink(filepath) + # delete the overviewer.dat persistant data file + datfile = os.path.join(worlddir,"overviewer.dat") + if os.path.exists(datfile): + os.unlink(datfile) + logging.info("Deleting {0}".format(datfile)) + def list_worlds(): "Prints out a brief summary of saves found in the default directory" print