Fix typo in createMap

This commit is contained in:
David Vierra 2015-07-10 18:27:12 -10:00
parent 22778a9c81
commit 5cad086e56

View File

@ -1000,7 +1000,7 @@ class AnvilWorldAdapter(object):
# but we can't trust it because of bugs in the old map import filters
mapIDs = list(self.listMaps())
if len(mapIDs):
maximumID = max()
maximumID = max(mapIDs)
mapID = maximumID + 1
else:
mapID = 0