From a61a5c01c67e8e12a09e3c40bd08b5e0812fbe1f Mon Sep 17 00:00:00 2001 From: Oliver Date: Thu, 17 Jul 2025 15:34:11 +0200 Subject: [PATCH] fancyholograms: Add support for 1.21.8 --- plugins/fancyholograms-v2/README.md | 2 +- plugins/fancyholograms-v2/VERSION | 2 +- plugins/fancyholograms-v2/build.gradle.kts | 2 ++ plugins/fancyholograms-v2/release_deployment_config.json | 3 ++- plugins/fancyholograms-v2/snapshot_deployment_config.json | 3 ++- .../main/java/de/oliver/fancyholograms/FancyHolograms.java | 4 ++-- plugins/fancynpcs/build.gradle.kts | 4 +++- 7 files changed, 13 insertions(+), 7 deletions(-) diff --git a/plugins/fancyholograms-v2/README.md b/plugins/fancyholograms-v2/README.md index b967557d..8341891e 100644 --- a/plugins/fancyholograms-v2/README.md +++ b/plugins/fancyholograms-v2/README.md @@ -36,7 +36,7 @@ With this plugin you can create holograms with customizable properties like: ## Installation -Paper **1.19.4** - **1.21.5** with **Java 21** (or higher) is required. Plugin should also work on **Paper** forks. +Paper **1.19.4** - **1.21.8** with **Java 21** (or higher) is required. Plugin should also work on **Paper** forks. **Spigot** is **not** supported. diff --git a/plugins/fancyholograms-v2/VERSION b/plugins/fancyholograms-v2/VERSION index cc426cab..c8d2b9ae 100644 --- a/plugins/fancyholograms-v2/VERSION +++ b/plugins/fancyholograms-v2/VERSION @@ -1 +1 @@ -2.6.0.146 \ No newline at end of file +2.6.0.147 \ No newline at end of file diff --git a/plugins/fancyholograms-v2/build.gradle.kts b/plugins/fancyholograms-v2/build.gradle.kts index c6a1aa26..dfc3d23f 100644 --- a/plugins/fancyholograms-v2/build.gradle.kts +++ b/plugins/fancyholograms-v2/build.gradle.kts @@ -31,6 +31,8 @@ val supportedVersions = "1.21.4", "1.21.5", "1.21.6", + "1.21.7", + "1.21.8", ) allprojects { diff --git a/plugins/fancyholograms-v2/release_deployment_config.json b/plugins/fancyholograms-v2/release_deployment_config.json index 2421b75e..e6201b27 100644 --- a/plugins/fancyholograms-v2/release_deployment_config.json +++ b/plugins/fancyholograms-v2/release_deployment_config.json @@ -20,7 +20,8 @@ "1.21.4", "1.21.5", "1.21.6", - "1.21.7" + "1.21.7", + "1.21.8" ], "channel": "RELEASE", "loaders": [ diff --git a/plugins/fancyholograms-v2/snapshot_deployment_config.json b/plugins/fancyholograms-v2/snapshot_deployment_config.json index cdd96bc5..9d3d3b59 100644 --- a/plugins/fancyholograms-v2/snapshot_deployment_config.json +++ b/plugins/fancyholograms-v2/snapshot_deployment_config.json @@ -20,7 +20,8 @@ "1.21.4", "1.21.5", "1.21.6", - "1.21.7" + "1.21.7", + "1.21.8" ], "channel": "ALPHA", "loaders": [ diff --git a/plugins/fancyholograms-v2/src/main/java/de/oliver/fancyholograms/FancyHolograms.java b/plugins/fancyholograms-v2/src/main/java/de/oliver/fancyholograms/FancyHolograms.java index 04f0fa02..deba767e 100644 --- a/plugins/fancyholograms-v2/src/main/java/de/oliver/fancyholograms/FancyHolograms.java +++ b/plugins/fancyholograms-v2/src/main/java/de/oliver/fancyholograms/FancyHolograms.java @@ -17,7 +17,7 @@ import de.oliver.fancyholograms.api.hologram.Hologram; import de.oliver.fancyholograms.commands.FancyHologramsCMD; import de.oliver.fancyholograms.commands.FancyHologramsTestCMD; import de.oliver.fancyholograms.commands.HologramCMD; -import de.oliver.fancyholograms.hologram.version.*; +import de.oliver.fancyholograms.hologram.version.HologramImpl; import de.oliver.fancyholograms.listeners.*; import de.oliver.fancyholograms.storage.FlatFileHologramStorage; import de.oliver.fancyholograms.storage.converter.FHConversionRegistry; @@ -286,7 +286,7 @@ public final class FancyHolograms extends JavaPlugin implements FancyHologramsPl private void registerListeners() { getServer().getPluginManager().registerEvents(new PlayerListener(this), this); getServer().getPluginManager().registerEvents(new WorldListener(), this); - if (Bukkit.getMinecraftVersion().equals("1.21.4") || Bukkit.getMinecraftVersion().equals("1.21.5") || Bukkit.getMinecraftVersion().equals("1.21.6") || Bukkit.getMinecraftVersion().equals("1.21.7")) { + if (Bukkit.getMinecraftVersion().equals("1.21.4") || Bukkit.getMinecraftVersion().equals("1.21.5") || Bukkit.getMinecraftVersion().equals("1.21.6") || Bukkit.getMinecraftVersion().equals("1.21.7") || Bukkit.getMinecraftVersion().equals("1.21.8")) { getServer().getPluginManager().registerEvents(new PlayerLoadedListener(), this); } diff --git a/plugins/fancynpcs/build.gradle.kts b/plugins/fancynpcs/build.gradle.kts index 3020741e..e83820fe 100644 --- a/plugins/fancynpcs/build.gradle.kts +++ b/plugins/fancynpcs/build.gradle.kts @@ -28,7 +28,9 @@ val supportedVersions = "1.21.3", "1.21.4", "1.21.5", - "1.21.6" + "1.21.6", + "1.21.7", + "1.21.8", ) allprojects {