mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-07-23 15:50:30 +02:00
Don't spam incompatible WG error
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
Version 2.1.109
|
||||
Added missing 1.14 blocks to ability/tool activation blacklists
|
||||
Fixed spamming of incompatible worldguard version message
|
||||
|
||||
Version 2.1.108
|
||||
Fixed an amusing exploit for easy leveling in Acrobatics
|
||||
|
@@ -96,6 +96,9 @@ public class WorldGuardUtils {
|
||||
private static boolean isCompatibleVersion(Plugin plugin) {
|
||||
//Check that the version of WG is at least version 7.xx
|
||||
boolean allClassesFound = true;
|
||||
if (detectedIncompatibleWG) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!plugin.getDescription().getVersion().startsWith("7")) {
|
||||
markWGIncompatible();
|
||||
|
Reference in New Issue
Block a user