summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsnowleo <schneeleo@gmail.com>2011-12-15 10:32:56 +0100
committersnowleo <schneeleo@gmail.com>2011-12-15 10:32:56 +0100
commita7e71488c699f43f529385b2c9e80c75b891e861 (patch)
treee8cb91755c0aab3e2f493a39cdf2aedcfd73fdbe
parent0155bcedb7f00726d0b2f14e612a5342322a8278 (diff)
parent64bc8d1133fa28e9895fd4186f4bec761e6a2844 (diff)
downloadEssentials-a7e71488c699f43f529385b2c9e80c75b891e861.tar
Essentials-a7e71488c699f43f529385b2c9e80c75b891e861.tar.gz
Essentials-a7e71488c699f43f529385b2c9e80c75b891e861.tar.lz
Essentials-a7e71488c699f43f529385b2c9e80c75b891e861.tar.xz
Essentials-a7e71488c699f43f529385b2c9e80c75b891e861.zip
Merge branch 'refs/heads/master' into 3.0
-rw-r--r--Essentials/src/com/earth2me/essentials/Essentials.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/Essentials.java b/Essentials/src/com/earth2me/essentials/Essentials.java
index e4790aea1..6d6d874f5 100644
--- a/Essentials/src/com/earth2me/essentials/Essentials.java
+++ b/Essentials/src/com/earth2me/essentials/Essentials.java
@@ -121,7 +121,7 @@ public class Essentials extends JavaPlugin implements IEssentials
LOGGER.log(Level.WARNING, _("versionMismatch", plugin.getDescription().getName()));
}
}
- final Matcher versionMatch = Pattern.compile("git-Bukkit-([0-9]+).([0-9]+).([0-9]+)-R[0-9]+-[0-9]+-[0-9a-z]+-b([0-9]+)jnks.*").matcher(getServer().getVersion());
+ final Matcher versionMatch = Pattern.compile("git-Bukkit-([0-9]+).([0-9]+).([0-9]+)-R[0-9]+-b([0-9]+)jnks.*").matcher(getServer().getVersion());
if (versionMatch.matches())
{
final int versionNumber = Integer.parseInt(versionMatch.group(4));