From b1c6d2e0fa35e35fed1292d77c061c0256473351 Mon Sep 17 00:00:00 2001 From: David Vierra Date: Fri, 3 Dec 2010 18:07:14 -1000 Subject: [PATCH] the original allChunks will be modified, so make a list first --- mce.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mce.py b/mce.py index 63d38fb..68f794b 100755 --- a/mce.py +++ b/mce.py @@ -729,7 +729,7 @@ class mce(object): box = self.readBox(command) i=0; - for cx,cz in self.level.allChunks: + for cx,cz in list(self.level.allChunks): if cx < box.mincx or cx >= box.maxcx or cz < box.mincz or cz >= box.maxcz: self.level.deleteChunk(cx,cz) i+=1;