From 47bc3c2f0cf4f98f1759d9c998110c12ea5222b1 Mon Sep 17 00:00:00 2001 From: David Vierra Date: Sat, 10 Sep 2016 10:22:08 -1000 Subject: [PATCH] fixup: Use 1.10 block dumps --- src/mcedit2/util/minecraftinstall.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mcedit2/util/minecraftinstall.py b/src/mcedit2/util/minecraftinstall.py index 8c90001..22e3471 100644 --- a/src/mcedit2/util/minecraftinstall.py +++ b/src/mcedit2/util/minecraftinstall.py @@ -259,7 +259,7 @@ class MCInstallGroup(QtCore.QObject): def matchVersion(version): major, minor, rev = splitVersion(version) - if (major, minor) >= (1, 9): + if (major, minor) >= self._requiredMajorMinor: if rev == "": return version try: @@ -408,9 +408,9 @@ class MCInstallGroup(QtCore.QObject): def getDefaultResourceLoader(self): - v18 = self.findVersionWithAssets() - loader = ResourceLoader(v18) - loader.addZipFile(v18) + assetsVersion = self.findVersionWithAssets() + loader = ResourceLoader(assetsVersion) + loader.addZipFile(assetsVersion) return loader class MCInstall(object):