diff --git a/README.md b/README.md index 9e00d03..8e3d77b 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ WorldEditSelectionVisualizer (WESV) is essentially the famous [WorldEditCUI](htt - Highly customizable for the performance of your server - Supports both [WorldEdit](https://enginehub.org/worldedit) and [FastAsyncWorldEdit](https://www.spigotmc.org/resources/fastasyncworldedit.13932/) - Minecraft 1.7.10 to 1.20 support -- [PlaceholderAPI](https://github.com/PlaceholderAPI/PlaceholderAPI) support (you can use the placeholders `%wesv_toggled_selection%` and `%wesv_toggled_clipboard%`, `%wesv_volume_selection` and `%wesv_volume_clipboard%`) +- [PlaceholderAPI](https://github.com/PlaceholderAPI/PlaceholderAPI) support (you can use the placeholders `%wesv_toggled_selection%`, `%wesv_toggled_clipboard%`, `%wesv_volume_selection%` and `%wesv_volume_clipboard%`) ## Downloads diff --git a/plugin/src/main/java/fr/mrmicky/worldeditselectionvisualizer/compat/CompatibilityHelper.java b/plugin/src/main/java/fr/mrmicky/worldeditselectionvisualizer/compat/CompatibilityHelper.java index ca356b6..499d57d 100644 --- a/plugin/src/main/java/fr/mrmicky/worldeditselectionvisualizer/compat/CompatibilityHelper.java +++ b/plugin/src/main/java/fr/mrmicky/worldeditselectionvisualizer/compat/CompatibilityHelper.java @@ -123,7 +123,7 @@ public boolean isSelectionItem(@Nullable ItemStack item) { private boolean isActionBarSupported() { try { - Class.forName("net.md_5.bungee.api.chat.TextComponent"); + Class.forName("net.md_5.bungee.api.ChatMessageType"); Player.class.getMethod("spigot"); SpigotActionBarAdapter.checkSupported();