From 6692edf439420deb4ca4b5465ce1b8e1bddfe6eb Mon Sep 17 00:00:00 2001 From: Maxim Date: Fri, 27 Dec 2024 18:43:09 +0200 Subject: [PATCH] fix: copy holo method --- build.gradle.kts | 2 +- .../com/maximde/hologramlib/hologram/HologramManager.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index d3caa79..1d2c082 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,4 +1,4 @@ -project.version = "1.6.0.2-ALPHA" +project.version = "1.6.0" plugins { kotlin("jvm") version "2.0.21" diff --git a/src/main/java/com/maximde/hologramlib/hologram/HologramManager.java b/src/main/java/com/maximde/hologramlib/hologram/HologramManager.java index 8424019..cc10a30 100644 --- a/src/main/java/com/maximde/hologramlib/hologram/HologramManager.java +++ b/src/main/java/com/maximde/hologramlib/hologram/HologramManager.java @@ -136,11 +136,11 @@ public boolean updateHologramIfExists(String id, Consumer> updateAct return false; } - public Hologram copyHologram(Hologram source, String id) { + public > Hologram copyHologram(H source, String id) { return this.spawn(source.copy(id), source.getLocation()); } - public Hologram copyHologram(Hologram source) { + public > Hologram copyHologram(H source) { return this.spawn(source.copy(), source.getLocation()); } }