more verbose error message about WorldGuard hook
This commit is contained in:
parent
fc7e940cbe
commit
26143ef02f
|
|
@ -55,7 +55,11 @@ class WorldGuardWrapper
|
||||||
}
|
}
|
||||||
catch (Throwable rock)
|
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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user