mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-11-16 17:16:11 +00:00
chore: add obnoxious error message if using p2 v7 with FAWE main branch
This commit is contained in:
parent
c0037aa083
commit
05d5ad161a
@ -320,6 +320,15 @@ public class FaweBukkit implements IFawe, Listener {
|
|||||||
if (PlotSquared.get().getVersion().version[0] == 6) {
|
if (PlotSquared.get().getVersion().version[0] == 6) {
|
||||||
WEManager.weManager().addManager(new com.fastasyncworldedit.bukkit.regions.plotsquared.PlotSquaredFeature());
|
WEManager.weManager().addManager(new com.fastasyncworldedit.bukkit.regions.plotsquared.PlotSquaredFeature());
|
||||||
LOGGER.info("Plugin 'PlotSquared' v6 found. Using it now.");
|
LOGGER.info("Plugin 'PlotSquared' v6 found. Using it now.");
|
||||||
|
} else if (PlotSquared.get().getVersion().version[0] == 7) {
|
||||||
|
WEManager.weManager().addManager(new com.fastasyncworldedit.bukkit.regions.plotsquared.PlotSquaredFeature());
|
||||||
|
LOGGER.error("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
|
||||||
|
LOGGER.error("!! !!");
|
||||||
|
LOGGER.error("!! ERROR: PlotSquared v7 found. This FAWE version does not support PlotSquared V7 !!");
|
||||||
|
LOGGER.error("!! Follow the instructions when notified of v7 release candidates the and use FAWE from !!");
|
||||||
|
LOGGER.error("!! https://ci.athion.net/job/FastAsyncWorldEdit-Pull-Requests/view/change-requests/job/PR-2075/ !!");
|
||||||
|
LOGGER.error("!! !!");
|
||||||
|
LOGGER.error("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
|
||||||
} else {
|
} else {
|
||||||
LOGGER.error("Incompatible version of PlotSquared found. Please use PlotSquared v6.");
|
LOGGER.error("Incompatible version of PlotSquared found. Please use PlotSquared v6.");
|
||||||
LOGGER.info("https://www.spigotmc.org/resources/77506/");
|
LOGGER.info("https://www.spigotmc.org/resources/77506/");
|
||||||
|
Loading…
Reference in New Issue
Block a user