Commit d4edf33f by Tomasz Gargas

Remove a check for READ_VERSION==0 in BlockStructureBlockData._add_transformer.

Signed-off-by: Tomasz Gargas <tomasz@opencraft.com>
parent 64c4ae4a
......@@ -730,7 +730,7 @@ class BlockStructureBlockData(BlockStructure):
Adds the given transformer to the block structure by recording
its current version number.
"""
if transformer.READ_VERSION == 0 or transformer.WRITE_VERSION == 0:
if transformer.WRITE_VERSION == 0:
raise TransformerException('Version attributes are not set on transformer {0}.', transformer.name())
self.set_transformer_data(transformer, TRANSFORMER_VERSION_KEY, transformer.WRITE_VERSION)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment