avoid a unicode error when formatting the world name into this string

This commit is contained in:
David Vierra 2010-12-06 15:30:22 -10:00
parent 4a077f65b3
commit ada922c3b6

View File

@ -1492,7 +1492,7 @@ class InfdevChunk(MCLevel):
def __str__(self):
return "InfdevChunk, coords:{0}, world: {1}, D:{2}, L:{3}".format(self.chunkPosition, self.world.displayName,self.dirty, self.needsLighting)
return u"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;