From 83e5e8ea27bf3f3470c3851a92b511e5bf2ba1dc Mon Sep 17 00:00:00 2001 From: NotMyFault Date: Wed, 10 Feb 2021 17:49:34 +0100 Subject: [PATCH] Improve note if Fawe is used on an older mc release --- .../src/main/java/com/sk89q/worldedit/bukkit/BukkitWorld.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/worldedit-bukkit/src/main/java/com/sk89q/worldedit/bukkit/BukkitWorld.java b/worldedit-bukkit/src/main/java/com/sk89q/worldedit/bukkit/BukkitWorld.java index 1e9aa8792..78d9e8de7 100644 --- a/worldedit-bukkit/src/main/java/com/sk89q/worldedit/bukkit/BukkitWorld.java +++ b/worldedit-bukkit/src/main/java/com/sk89q/worldedit/bukkit/BukkitWorld.java @@ -63,7 +63,6 @@ import org.bukkit.inventory.Inventory; import org.bukkit.inventory.InventoryHolder; import org.slf4j.Logger; -import java.io.IOException; import java.lang.ref.WeakReference; import java.nio.file.Path; import java.util.ArrayList; @@ -290,6 +289,9 @@ public class BukkitWorld extends AbstractWorld { for (TreeGenerator.TreeType type : TreeGenerator.TreeType.values()) { if (treeTypeMapping.get(type) == null) { WorldEdit.logger.error("No TreeType mapping for TreeGenerator.TreeType." + type); + // FAWE start + WorldEdit.logger.warn("Your FAWE version is newer than " + Bukkit.getVersion() + " and contains features of future minecraft versions which do not exist in " + Bukkit.getVersion() + ", hence the tree type " + type + " is not available."); + // FAWE end } } }