mirror of
https://github.com/songoda/SongodaCore.git
synced 2025-02-10 16:41:28 +01:00
build: use manually uploaded artifact for CMI-API
This commit is contained in:
parent
f05ca97af3
commit
64e28e7905
11
Core/pom.xml
11
Core/pom.xml
@ -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>
|
||||
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user