codewarrior0/pymclevel — Issue #63: New YAML feature causes breakage in TopoMC
Author: mathuin
Created: 2011-12-06 22:42:24+00:00
State: open

The pathname in pymclevel/materials.py is a bare filename, which means that I cannot import pymclevel.materials from TopoMC since I don't have that file in my current directory.

My temporary workaround is to copy that file into the TopoMC directory. I may also add some code to check for the presence of Stone, and if it fails, run 'alphaMaterials.addYamlBlocksFromFile('../pymclevel/minecraft.yaml')' for a more robust workaround. If I knew how to make pymclevel.materials read the YAML directory from a specific location relative to pymclevel itself, I'd submit a pull request. :-)

Thanks for making great software!

Jack.