From fde3d1624b26a66e0d3ffabc0077265d76b94d9e Mon Sep 17 00:00:00 2001 From: Rubisk Date: Sun, 10 May 2015 12:51:02 +0200 Subject: [PATCH] Fixed an issue causing the fill tool to crash. --- src/mcedit2/widgets/blockpicker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mcedit2/widgets/blockpicker.py b/src/mcedit2/widgets/blockpicker.py index 2aa3d56..4feac5e 100644 --- a/src/mcedit2/widgets/blockpicker.py +++ b/src/mcedit2/widgets/blockpicker.py @@ -546,7 +546,7 @@ class BlockTypeButton(QtGui.QPushButton): @blocks.setter def blocks(self, value): - value = [self.editorSession.blocktypes[block] + value = [self.editorSession.worldEditor.blocktypes[block] if not isinstance(block, BlockType) else block for block in value]