gmcnew/bestofboth — Issue #5: Crash in --smooth
Author: Zahl
Created: 2011-11-26 23:36:41+00:00
State: open

```minecraft@server:~/minecraft/bestofboth$ /usr/local/bin/python2.7 bestofboth.py --smooth /home/minecraft/world/
bestofboth version 0.3.2
(a tool for smoothing terrain discontinuities in Minecraft worlds)
http://github.com/gmcnew/bestofboth

examining edge 2817 of 12962...Traceback (most recent call last):
File "bestofboth.py", line 1037, in
main()
File "bestofboth.py", line 1030, in main
smooth(worldDir, edgeFilePath)
File "bestofboth.py", line 693, in smooth
if erosionTask.run(level, treeDecayList, width):
File "bestofboth.py", line 366, in run
self.removeOrphanLeaves(level, chunk, x, z)
File "bestofboth.py", line 102, in removeOrphanLeaves
self.removeOrphanLeaf(level, x, z, y)
File "bestofboth.py", line 70, in removeOrphanLeaf
chunk = level.getChunk(fx / 16, fz / 16)
File "/home/minecraft/bestofboth/pymclevel/infiniteworld.py", line 2002, in getChunk
c = self._makeChunk(cx, cz)
File "/home/minecraft/bestofboth/pymclevel/infiniteworld.py", line 1972, in _makeChunk
raise ChunkNotPresent, (cx, cz);
pymclevel.mclevelbase.ChunkNotPresent: (-12, -123)```