From a5de67f4f0cdc1d7d058645aa7ed6c31c2102800 Mon Sep 17 00:00:00 2001 From: CovertJaguar Date: Sun, 27 Oct 2013 08:16:03 -0700 Subject: [PATCH] Allow regex version matching in version file --- common/buildcraft/core/Version.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/buildcraft/core/Version.java b/common/buildcraft/core/Version.java index 2a32bb95..8b5318b6 100644 --- a/common/buildcraft/core/Version.java +++ b/common/buildcraft/core/Version.java @@ -86,7 +86,7 @@ public class Version implements Runnable { String line; String mcVersion = CoreProxy.proxy.getMinecraftVersion(); while ((line = reader.readLine()) != null) { - if (line.startsWith(mcVersion)) { + if (mcVersion.matches(line)) { if (line.contains(DefaultProps.MOD)) { String[] tokens = line.split(":");