more verbose error message about WorldGuard hook

This commit is contained in:
RoboMWM 2018-11-22 01:54:54 -08:00
parent fc7e940cbe
commit 26143ef02f

View File

@ -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;
}