Skip to content

Commit

Permalink
Move Hologram1_20_6.java to main module
Browse files Browse the repository at this point in the history
  • Loading branch information
OliverSchlueter committed Aug 12, 2024
1 parent adf2dfa commit 3ffac16
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 38 deletions.
3 changes: 1 addition & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ val supportedVersions =
allprojects {
group = "de.oliver"
val buildId = System.getenv("BUILD_ID")
version = "2.3.1" + (if (buildId != null) ".$buildId" else "")
version = "2.3.1-DEV" + (if (buildId != null) ".$buildId" else "")
description = "Simple, lightweight and fast hologram plugin using display entities"

repositories {
Expand All @@ -43,7 +43,6 @@ dependencies {
compileOnly("io.papermc.paper:paper-api:${findProperty("minecraftVersion")}-R0.1-SNAPSHOT")

implementation(project(":api"))
implementation(project(":implementation_1_20_6"))
implementation(project(":implementation_1_20_4", configuration = "reobf"))
implementation(project(":implementation_1_20_2", configuration = "reobf"))
implementation(project(":implementation_1_20_1", configuration = "reobf"))
Expand Down
32 changes: 0 additions & 32 deletions implementation_1_20_6/build.gradle.kts

This file was deleted.

1 change: 0 additions & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
rootProject.name = "FancyHolograms"

include("api")
include("implementation_1_20_6")
include("implementation_1_20_4")
include("implementation_1_20_2")
include("implementation_1_20_1")
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/de/oliver/fancyholograms/FancyHolograms.java
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ public ExecutorService getFileStorageExecutor() {

// check if the server version is supported by FancySitula
if (ServerVersion.isVersionSupported(version)) {
return Hologram1_20_6::new;
return HologramImpl::new;
}

return switch (version) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
import org.jetbrains.annotations.Nullable;
import org.joml.Quaternionf;

public final class Hologram1_20_6 extends Hologram {
public final class HologramImpl extends Hologram {

private FS_Display fsDisplay;

public Hologram1_20_6(@NotNull final HologramData data) {
public HologramImpl(@NotNull final HologramData data) {
super(data);
}

Expand Down

0 comments on commit 3ffac16

Please sign in to comment.