diff --git a/plugins/fancyholograms/README.md b/plugins/fancyholograms/README.md index c12b3b4e..64d451ee 100644 --- a/plugins/fancyholograms/README.md +++ b/plugins/fancyholograms/README.md @@ -36,7 +36,7 @@ With this plugin you can create holograms with customizable properties like: ## Installation -Paper **1.19.4** - **1.21.4** with **Java 21** (or higher) is required. Plugin should also work on **Paper** forks. +Paper **1.20.5** - **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/build.gradle.kts b/plugins/fancyholograms/build.gradle.kts index e5241701..becedd74 100644 --- a/plugins/fancyholograms/build.gradle.kts +++ b/plugins/fancyholograms/build.gradle.kts @@ -16,12 +16,6 @@ runPaper.folia.registerTask() val supportedVersions = listOf( - "1.19.4", - "1.20", - "1.20.1", - "1.20.2", - "1.20.3", - "1.20.4", "1.20.5", "1.20.6", "1.21", diff --git a/plugins/fancyholograms/release_deployment_config.json b/plugins/fancyholograms/release_deployment_config.json index b243bce8..d30ab8e6 100644 --- a/plugins/fancyholograms/release_deployment_config.json +++ b/plugins/fancyholograms/release_deployment_config.json @@ -5,12 +5,6 @@ "changelog_path": "../../../../plugins/fancyholograms/CHANGELOG.md", "version_path": "../../../../plugins/fancyholograms/VERSION", "supported_versions": [ - "1.19.4", - "1.20", - "1.20.1", - "1.20.2", - "1.20.3", - "1.20.4", "1.20.5", "1.20.6", "1.21", diff --git a/plugins/fancyholograms/snapshot_deployment_config.json b/plugins/fancyholograms/snapshot_deployment_config.json index 688ed3cc..46875ac5 100644 --- a/plugins/fancyholograms/snapshot_deployment_config.json +++ b/plugins/fancyholograms/snapshot_deployment_config.json @@ -5,12 +5,6 @@ "changelog_path": "../../../../plugins/fancyholograms/CHANGELOG-SNAPSHOT.md", "version_path": "../../../../plugins/fancyholograms/VERSION", "supported_versions": [ - "1.19.4", - "1.20", - "1.20.1", - "1.20.2", - "1.20.3", - "1.20.4", "1.20.5", "1.20.6", "1.21", diff --git a/plugins/fancyholograms/src/main/java/de/oliver/fancyholograms/main/FancyHologramsPlugin.java b/plugins/fancyholograms/src/main/java/de/oliver/fancyholograms/main/FancyHologramsPlugin.java index c66b3603..fdddf8c8 100644 --- a/plugins/fancyholograms/src/main/java/de/oliver/fancyholograms/main/FancyHologramsPlugin.java +++ b/plugins/fancyholograms/src/main/java/de/oliver/fancyholograms/main/FancyHologramsPlugin.java @@ -19,7 +19,7 @@ import de.oliver.fancyholograms.commands.lampCommands.fancyholograms.ConfigCMD; import de.oliver.fancyholograms.config.FHConfiguration; import de.oliver.fancyholograms.controller.HologramControllerImpl; import de.oliver.fancyholograms.converter.FHConversionRegistry; -import de.oliver.fancyholograms.hologram.version.*; +import de.oliver.fancyholograms.hologram.version.HologramImpl; import de.oliver.fancyholograms.listeners.*; import de.oliver.fancyholograms.metrics.FHMetrics; import de.oliver.fancyholograms.registry.HologramRegistryImpl; @@ -256,13 +256,7 @@ public final class FancyHologramsPlugin extends JavaPlugin implements FancyHolog return HologramImpl::new; } - return switch (version) { - case "1.20.3", "1.20.4" -> Hologram1_20_4::new; - case "1.20.2" -> Hologram1_20_2::new; - case "1.20", "1.20.1" -> Hologram1_20_1::new; - case "1.19.4" -> Hologram1_19_4::new; - default -> null; - }; + return null; } private void registerCommands() {