diff --git a/paper/src/main/java/com/github/donotspampls/ezprotector/paper/Main.java b/paper/src/main/java/com/github/donotspampls/ezprotector/paper/Main.java index 0784dbc..f2f96d3 100644 --- a/paper/src/main/java/com/github/donotspampls/ezprotector/paper/Main.java +++ b/paper/src/main/java/com/github/donotspampls/ezprotector/paper/Main.java @@ -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 {