Skip to content

Commit a2b1c1f

Browse files
committed
Account for md_5 stupidity
1 parent 0844d9c commit a2b1c1f

File tree

1 file changed

+1
-1
lines changed
  • paper/src/main/java/com/github/donotspampls/ezprotector/paper

1 file changed

+1
-1
lines changed

paper/src/main/java/com/github/donotspampls/ezprotector/paper/Main.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public void onEnable() {
5252
prefix = MessageUtil.color(getConfig().getString("prefix"));
5353
String version = getServer().getBukkitVersion();
5454

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

0 commit comments

Comments
 (0)