Skip to content

Commit

Permalink
Add a warning about using CraftBukkit due to it not working
Browse files Browse the repository at this point in the history
  • Loading branch information
me4502 committed Mar 13, 2024
1 parent 9b27c31 commit 00848a3
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -297,6 +297,9 @@ private void loadAdapter() {
Platform platform = worldEdit.getPlatformManager().queryCapability(Capability.WORLD_EDITING);
if (platform instanceof BukkitServerInterface) {
LOGGER.warn(e.getMessage());
if (PaperLib.getEnvironment().getName().equals("CraftBukkit") && !PaperLib.isSpigot()) {
LOGGER.warn("CraftBukkit is not a supported Bukkit platform. Please use a supported platform, such as Paper.");
}
} else {
LOGGER.info("WorldEdit could not find a Bukkit adapter for this MC version, "
+ "but it seems that you have another implementation of WorldEdit installed (" + platform.getPlatformName() + ") "
Expand Down

0 comments on commit 00848a3

Please sign in to comment.