diff --git a/Core/pom.xml b/Core/pom.xml index 95ad82fd..8be482f6 100644 --- a/Core/pom.xml +++ b/Core/pom.xml @@ -418,9 +418,16 @@ - com.github.Zrips + CMI-API CMI-API - 7.6.2.0 + 9.7.4.1 + provided + + + + com.github.Zrips + CMILib + 1.4.7.4 provided diff --git a/Core/src/main/java/com/craftaro/core/hooks/hologram/adapter/CmiHologramHook.java b/Core/src/main/java/com/craftaro/core/hooks/hologram/adapter/CmiHologramHook.java index 91894a14..a6469e53 100644 --- a/Core/src/main/java/com/craftaro/core/hooks/hologram/adapter/CmiHologramHook.java +++ b/Core/src/main/java/com/craftaro/core/hooks/hologram/adapter/CmiHologramHook.java @@ -4,6 +4,7 @@ import com.Zrips.CMI.CMI; import com.Zrips.CMI.Modules.Holograms.CMIHologram; import com.Zrips.CMI.Modules.Holograms.HologramManager; import com.craftaro.core.hooks.hologram.HologramHook; +import net.Zrips.CMILib.Container.CMILocation; import org.bukkit.Location; import org.bukkit.plugin.Plugin; import org.bukkit.plugin.java.JavaPlugin; @@ -56,7 +57,7 @@ public class CmiHologramHook extends HologramHook { throw new IllegalStateException("Cannot create hologram that already exists: " + getHologramName(id)); } - CMIHologram hologram = new CMIHologram(getHologramName(id), getNormalizedLocation(location)); + CMIHologram hologram = new CMIHologram(getHologramName(id), new CMILocation(getNormalizedLocation(location))); hologram.setLines(lines); this.cmiHologramManager.addHologram(hologram); hologram.update(); diff --git a/pom.xml b/pom.xml index 1e913391..b3cf2197 100644 --- a/pom.xml +++ b/pom.xml @@ -172,7 +172,7 @@ - third party + songoda-third-party https://repo.songoda.com/repository/third-party/