From 26143ef02f7c344dd0851d23188dc73f14435336 Mon Sep 17 00:00:00 2001 From: RoboMWM Date: Thu, 22 Nov 2018 01:54:54 -0800 Subject: [PATCH] more verbose error message about WorldGuard hook --- .../me/ryanhamshire/GriefPrevention/WorldGuardWrapper.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/java/me/ryanhamshire/GriefPrevention/WorldGuardWrapper.java b/src/main/java/me/ryanhamshire/GriefPrevention/WorldGuardWrapper.java index aa6ee63..82f53ef 100644 --- a/src/main/java/me/ryanhamshire/GriefPrevention/WorldGuardWrapper.java +++ b/src/main/java/me/ryanhamshire/GriefPrevention/WorldGuardWrapper.java @@ -55,7 +55,11 @@ class WorldGuardWrapper } catch (Throwable rock) { - GriefPrevention.AddLogEntry("WorldGuard is out of date. Please update or remove WorldGuard, or disable WorldGuard integration in GP's config (CreationRequiresWorldGuardBuildPermission)", CustomLogEntryTypes.Debug, false); + GriefPrevention.AddLogEntry("WorldGuard was found but unable to hook into. It could be that you're " + + "using an outdated version or WorldEdit broke their API... again." + + "Consider updating/downgrading/removing WorldGuard or disable WorldGuard integration in GP's config " + + "(CreationRequiresWorldGuardBuildPermission). If you're going to report this please be kind because " + + "WorldEdit's API hasn't been :c", CustomLogEntryTypes.Debug, false); return true; }