mirror of
https://github.com/songoda/SongodaCore.git
synced 2025-02-13 18:11:26 +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>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.github.Zrips</groupId>
|
<groupId>CMI-API</groupId>
|
||||||
<artifactId>CMI-API</artifactId>
|
<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>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
@ -4,6 +4,7 @@ import com.Zrips.CMI.CMI;
|
|||||||
import com.Zrips.CMI.Modules.Holograms.CMIHologram;
|
import com.Zrips.CMI.Modules.Holograms.CMIHologram;
|
||||||
import com.Zrips.CMI.Modules.Holograms.HologramManager;
|
import com.Zrips.CMI.Modules.Holograms.HologramManager;
|
||||||
import com.craftaro.core.hooks.hologram.HologramHook;
|
import com.craftaro.core.hooks.hologram.HologramHook;
|
||||||
|
import net.Zrips.CMILib.Container.CMILocation;
|
||||||
import org.bukkit.Location;
|
import org.bukkit.Location;
|
||||||
import org.bukkit.plugin.Plugin;
|
import org.bukkit.plugin.Plugin;
|
||||||
import org.bukkit.plugin.java.JavaPlugin;
|
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));
|
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);
|
hologram.setLines(lines);
|
||||||
this.cmiHologramManager.addHologram(hologram);
|
this.cmiHologramManager.addHologram(hologram);
|
||||||
hologram.update();
|
hologram.update();
|
||||||
|
2
pom.xml
2
pom.xml
@ -172,7 +172,7 @@
|
|||||||
</repository>
|
</repository>
|
||||||
|
|
||||||
<repository>
|
<repository>
|
||||||
<id>third party</id>
|
<id>songoda-third-party</id>
|
||||||
<url>https://repo.songoda.com/repository/third-party/</url>
|
<url>https://repo.songoda.com/repository/third-party/</url>
|
||||||
</repository>
|
</repository>
|
||||||
</repositories>
|
</repositories>
|
||||||
|
Loading…
Reference in New Issue
Block a user