fancyholograms v3: Remove support for 1.19.4 - 1.20.4

This commit is contained in:
Oliver
2025-07-24 21:24:12 +02:00
parent 29e4e70f37
commit 6828872398
5 changed files with 3 additions and 27 deletions

View File

@@ -36,7 +36,7 @@ With this plugin you can create holograms with customizable properties like:
## Installation ## 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. **Spigot** is **not** supported.

View File

@@ -16,12 +16,6 @@ runPaper.folia.registerTask()
val supportedVersions = val supportedVersions =
listOf( listOf(
"1.19.4",
"1.20",
"1.20.1",
"1.20.2",
"1.20.3",
"1.20.4",
"1.20.5", "1.20.5",
"1.20.6", "1.20.6",
"1.21", "1.21",

View File

@@ -5,12 +5,6 @@
"changelog_path": "../../../../plugins/fancyholograms/CHANGELOG.md", "changelog_path": "../../../../plugins/fancyholograms/CHANGELOG.md",
"version_path": "../../../../plugins/fancyholograms/VERSION", "version_path": "../../../../plugins/fancyholograms/VERSION",
"supported_versions": [ "supported_versions": [
"1.19.4",
"1.20",
"1.20.1",
"1.20.2",
"1.20.3",
"1.20.4",
"1.20.5", "1.20.5",
"1.20.6", "1.20.6",
"1.21", "1.21",

View File

@@ -5,12 +5,6 @@
"changelog_path": "../../../../plugins/fancyholograms/CHANGELOG-SNAPSHOT.md", "changelog_path": "../../../../plugins/fancyholograms/CHANGELOG-SNAPSHOT.md",
"version_path": "../../../../plugins/fancyholograms/VERSION", "version_path": "../../../../plugins/fancyholograms/VERSION",
"supported_versions": [ "supported_versions": [
"1.19.4",
"1.20",
"1.20.1",
"1.20.2",
"1.20.3",
"1.20.4",
"1.20.5", "1.20.5",
"1.20.6", "1.20.6",
"1.21", "1.21",

View File

@@ -19,7 +19,7 @@ import de.oliver.fancyholograms.commands.lampCommands.fancyholograms.ConfigCMD;
import de.oliver.fancyholograms.config.FHConfiguration; import de.oliver.fancyholograms.config.FHConfiguration;
import de.oliver.fancyholograms.controller.HologramControllerImpl; import de.oliver.fancyholograms.controller.HologramControllerImpl;
import de.oliver.fancyholograms.converter.FHConversionRegistry; 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.listeners.*;
import de.oliver.fancyholograms.metrics.FHMetrics; import de.oliver.fancyholograms.metrics.FHMetrics;
import de.oliver.fancyholograms.registry.HologramRegistryImpl; import de.oliver.fancyholograms.registry.HologramRegistryImpl;
@@ -256,13 +256,7 @@ public final class FancyHologramsPlugin extends JavaPlugin implements FancyHolog
return HologramImpl::new; return HologramImpl::new;
} }
return switch (version) { return null;
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;
};
} }
private void registerCommands() { private void registerCommands() {