Skip to content

Commit

Permalink
Account for md_5 stupidity
Browse files Browse the repository at this point in the history
  • Loading branch information
DoNotSpamPls committed Jul 16, 2019
1 parent 0844d9c commit a2b1c1f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public void onEnable() {
prefix = MessageUtil.color(getConfig().getString("prefix"));
String version = getServer().getBukkitVersion();

if (!version.matches("1\\.1[2-9](.\\d)?-R0.1-SNAPSHOT")) {
if (!version.matches("1\\.1[2-9](.\\d)?-(R0.1-)?SNAPSHOT")) {
getLogger().severe("eZProtector is not supported on versions lower than 1.12.2!");
getServer().getPluginManager().disablePlugin(this);
} else {
Expand Down

0 comments on commit a2b1c1f

Please sign in to comment.