default dimension values for non-Alpha worlds

This commit is contained in:
David Vierra 2010-11-01 17:34:34 -10:00
parent ddd2d2973d
commit d54ea66305

View File

@ -321,6 +321,8 @@ class MCLevel(object):
Width = None Width = None
players = ["Player"] players = ["Player"]
dimNo = 0;
parentWorld = None
@classmethod @classmethod
def isLevel(cls, filename): def isLevel(cls, filename):
"""Tries to find out whether the given filename can be loaded """Tries to find out whether the given filename can be loaded