From 9127dcd78651f736347342617d81147276fc5db8 Mon Sep 17 00:00:00 2001 From: David Vierra Date: Sun, 27 Mar 2016 04:28:15 -1000 Subject: [PATCH] Fix snapshots option overriding "jar exists" check. --- src/mcedit2/util/minecraftinstall.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mcedit2/util/minecraftinstall.py b/src/mcedit2/util/minecraftinstall.py index c3532c5..bf90b0c 100644 --- a/src/mcedit2/util/minecraftinstall.py +++ b/src/mcedit2/util/minecraftinstall.py @@ -280,7 +280,7 @@ class MCInstall(object): versions = os.listdir(self.versionsDir) return [v for v in versions if os.path.exists(self.getVersionJarPath(v)) - and usableVersion(v) or allowSnapshotsOption.value()] + and (usableVersion(v) or allowSnapshotsOption.value())] def getVersionJarPath(self, version): return os.path.join(self.versionsDir, version, "%s.jar" % version)