Updated to no longer use the private repo.

This commit is contained in:
Brianna 2021-01-15 10:45:28 -06:00
parent 793581a853
commit c593a52791
17 changed files with 56 additions and 71 deletions

View File

@ -249,15 +249,15 @@
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.sainttx.holograms</groupId>
<groupId>com.sainttx</groupId>
<artifactId>Holograms</artifactId>
<version>2.9.1</version>
<version>2.13</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.zrips</groupId>
<artifactId>CMI</artifactId>
<version>8.4.0.2_1</version>
<groupId>com.github.Zrips</groupId>
<artifactId>CMI-API</artifactId>
<version>7.6.2.0</version>
<scope>provided</scope>
</dependency>
<dependency>
@ -293,7 +293,7 @@
<dependency>
<groupId>com.sk89q</groupId>
<artifactId>worldguard-bukkit</artifactId>
<version>7.1.0</version>
<version>7.0.4</version>
<scope>provided</scope>
</dependency>
<dependency>
@ -305,13 +305,13 @@
<dependency>
<groupId>com.songoda</groupId>
<artifactId>UltimateStacker</artifactId>
<version>2.0.1</version>
<version>2.1.1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.github.OmerBenGera</groupId>
<artifactId>WildStackerAPI</artifactId>
<version>b16</version>
<groupId>com.bgsoftware</groupId>
<artifactId>wildstacker</artifactId>
<version>3.5.1</version>
<scope>provided</scope>
</dependency>
<dependency>
@ -321,14 +321,14 @@
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.gamingmesh</groupId>
<artifactId>jobs</artifactId>
<version>4.13.0</version>
<groupId>com.github.Zrips</groupId>
<artifactId>Jobs</artifactId>
<version>LATEST</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.gmail.nossr50</groupId>
<artifactId>mcmmo</artifactId>
<groupId>com.gmail.nossr50.mcMMO</groupId>
<artifactId>mcMMO</artifactId>
<version>2.1.50</version>
<scope>provided</scope>
</dependency>

View File

@ -20,7 +20,7 @@ public class CMIHolograms extends Holograms {
CMI cmi;
HologramManager cmiHologramManager;
HashSet<String> ourHolograms = new HashSet();
Method cmi_CMIHologram_getLines;
Method cmi_CMIHologram_getLines, getLines;
{
try {
@ -89,16 +89,16 @@ public class CMIHolograms extends Holograms {
if (holo != null) {
// only update if there is a change to the text
List<String> holoLines;
if (cmi_CMIHologram_getLines != null) {
try {
if (cmi_CMIHologram_getLines != null) {
holoLines = Arrays.asList((String[]) cmi_CMIHologram_getLines.invoke(holo));
} else {
holoLines = (List<String>) cmi_CMIHologram_getLines.invoke(holo);
}
} catch (Exception ex) {
Logger.getLogger(CMIHolograms.class.getName()).log(Level.SEVERE, "CMI Hologram error!", ex);
holoLines = Collections.EMPTY_LIST;
}
} else {
holoLines = holo.getLines();
}
boolean isChanged = lines.size() != holoLines.size();
if (!isChanged) {
// double-check the lines

View File

@ -14,8 +14,8 @@
<dependencies>
<dependency>
<groupId>com.destroystokyo.papermc</groupId>
<artifactId>paper</artifactId>
<groupId>org.spigotmc</groupId>
<artifactId>spigot</artifactId>
<version>1.10.2</version>
<scope>provided</scope>
</dependency>

View File

@ -14,8 +14,8 @@
<dependencies>
<dependency>
<groupId>com.destroystokyo.papermc</groupId>
<artifactId>paper</artifactId>
<groupId>org.spigotmc</groupId>
<artifactId>spigot</artifactId>
<version>1.11.2</version>
<scope>provided</scope>
</dependency>

View File

@ -14,8 +14,8 @@
<dependencies>
<dependency>
<groupId>com.destroystokyo.papermc</groupId>
<artifactId>paper</artifactId>
<groupId>org.spigotmc</groupId>
<artifactId>spigot</artifactId>
<version>1.12.2</version>
<scope>provided</scope>
</dependency>

View File

@ -14,8 +14,8 @@
<dependencies>
<dependency>
<groupId>com.destroystokyo.papermc</groupId>
<artifactId>paper</artifactId>
<groupId>org.spigotmc</groupId>
<artifactId>spigot</artifactId>
<version>1.13</version>
<scope>provided</scope>
</dependency>

View File

@ -59,7 +59,7 @@ public class NBTEntityImpl extends NBTCompoundImpl implements NBTEntity {
@Override
public void addExtras() {
MinecraftKey key = EntityTypes.REGISTRY.b(nmsEntity.getEntityType());
MinecraftKey key = EntityTypes.REGISTRY.b(nmsEntity.P()); // Changed in 1.13
if (key != null)
compound.setString("entity_type", key.toString()); // Changed in 1.13
}

View File

@ -14,8 +14,8 @@
<dependencies>
<dependency>
<groupId>com.destroystokyo.papermc</groupId>
<artifactId>paper</artifactId>
<groupId>org.spigotmc</groupId>
<artifactId>spigot</artifactId>
<version>1.13.2</version>
<scope>provided</scope>
</dependency>

View File

@ -14,8 +14,8 @@
<dependencies>
<dependency>
<groupId>com.destroystokyo.papermc</groupId>
<artifactId>paper</artifactId>
<groupId>org.spigotmc</groupId>
<artifactId>spigot</artifactId>
<version>1.14.4</version>
<scope>provided</scope>
</dependency>

View File

@ -14,9 +14,9 @@
<dependencies>
<dependency>
<groupId>com.destroystokyo.papermc</groupId>
<artifactId>paper</artifactId>
<version>1.15.1</version>
<groupId>org.spigotmc</groupId>
<artifactId>spigot</artifactId>
<version>1.15</version>
<scope>provided</scope>
</dependency>
<dependency>

View File

@ -14,9 +14,9 @@
<dependencies>
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>craftbukkit</artifactId>
<version>1.8-R0.1-20190912.143550-1</version>
<groupId>org.spigotmc</groupId>
<artifactId>spigot</artifactId>
<version>1.8</version>
<scope>provided</scope>
</dependency>
<dependency>

View File

@ -14,9 +14,9 @@
<dependencies>
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>craftbukkit</artifactId>
<version>1.8.3-R0.1-20190912.192032-1</version>
<groupId>org.spigotmc</groupId>
<artifactId>spigot</artifactId>
<version>1.8.3</version>
<scope>provided</scope>
</dependency>
<dependency>

View File

@ -14,8 +14,8 @@
<dependencies>
<dependency>
<groupId>com.destroystokyo.papermc</groupId>
<artifactId>paper</artifactId>
<groupId>org.spigotmc</groupId>
<artifactId>spigot</artifactId>
<version>1.8.8</version>
<scope>provided</scope>
</dependency>

View File

@ -13,16 +13,10 @@
<packaging>jar</packaging>
<dependencies>
<!--dependency>
<groupId>com.destroystokyo.papermc</groupId>
<artifactId>paper</artifactId>
<version>1.8.8</version>
<scope>provided</scope>
</dependency-->
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>craftbukkit</artifactId>
<version>1.9.2-R0.1-20190912.192509-1</version>
<groupId>org.spigotmc</groupId>
<artifactId>spigot</artifactId>
<version>1.9.2</version>
<scope>provided</scope>
</dependency>
<dependency>

View File

@ -14,8 +14,8 @@
<dependencies>
<dependency>
<groupId>com.destroystokyo.papermc</groupId>
<artifactId>paper</artifactId>
<groupId>org.spigotmc</groupId>
<artifactId>spigot</artifactId>
<version>1.9.4</version>
<scope>provided</scope>
</dependency>

View File

@ -43,10 +43,6 @@
</plugins>
</build>
<repositories>
<repository>
<id>private</id>
<url>https://repo.songoda.com/repository/private/</url>
</repository>
<repository>
<id>public</id>
<url>https://repo.songoda.com/repository/public/</url>
@ -59,6 +55,10 @@
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
<repository>
<id>CodeMC</id>
<url>https://repo.codemc.org/repository/maven-public</url>
</repository>
</repositories>
<!-- Global dependencies -->
<dependencies>

View File

@ -1,9 +0,0 @@
<settings>
<servers>
<server>
<id>private</id>
<username>{REPO_USER}</username>
<password>{REPO_PASS}</password>
</server>
</servers>
</settings>