Skip to content

Commit

Permalink
build: use manually uploaded artifact for CMI-API
Browse files Browse the repository at this point in the history
  • Loading branch information
SpraxDev committed Jun 22, 2024
1 parent f05ca97 commit 64e28e7
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
11 changes: 9 additions & 2 deletions Core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -418,9 +418,16 @@
</dependency>

<dependency>
<groupId>com.github.Zrips</groupId>
<groupId>CMI-API</groupId>
<artifactId>CMI-API</artifactId>
<version>7.6.2.0</version>
<version>9.7.4.1</version>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>com.github.Zrips</groupId>
<artifactId>CMILib</artifactId>
<version>1.4.7.4</version>
<scope>provided</scope>
</dependency>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
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;
Expand Down Expand Up @@ -56,7 +57,7 @@ public void create(@NotNull String id, @NotNull Location location, @NotNull List
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();
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@
</repository>

<repository>
<id>third party</id>
<id>songoda-third-party</id>
<url>https://repo.songoda.com/repository/third-party/</url>
</repository>
</repositories>
Expand Down

0 comments on commit 64e28e7

Please sign in to comment.