From 44d301d59fe46c048eb091e63a311d7167ea0cdd Mon Sep 17 00:00:00 2001 From: David Vierra Date: Tue, 16 Nov 2010 03:54:53 -1000 Subject: [PATCH] use world.displayName instead of splitting paths --- mclevel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mclevel.py b/mclevel.py index 28a7edd..1fcd609 100644 --- a/mclevel.py +++ b/mclevel.py @@ -1455,7 +1455,7 @@ class InfdevChunk(MCLevel): def __str__(self): - return "InfdevChunk, coords:{0}, world: {1}, D:{2}, L:{3}".format(self.chunkPosition, os.path.split(self.world.worldDir)[1],self.dirty, self.needsLighting) + return "InfdevChunk, coords:{0}, world: {1}, D:{2}, L:{3}".format(self.chunkPosition, self.world.displayName,self.dirty, self.needsLighting) def create(self): (cx,cz) = self.chunkPosition;