use world.displayName instead of splitting paths
This commit is contained in:
parent
29533b4acf
commit
44d301d59f
@ -1455,7 +1455,7 @@ class InfdevChunk(MCLevel):
|
|||||||
|
|
||||||
|
|
||||||
def __str__(self):
|
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):
|
def create(self):
|
||||||
(cx,cz) = self.chunkPosition;
|
(cx,cz) = self.chunkPosition;
|
||||||
|
Reference in New Issue
Block a user