mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-22 18:45:27 +01:00
Provide Heroes and Vault for building
This commit is contained in:
parent
1d4127d647
commit
329875bd32
BIN
lib/Heroes.jar
BIN
lib/Heroes.jar
Binary file not shown.
BIN
lib/Vault.jar
BIN
lib/Vault.jar
Binary file not shown.
26
pom.xml
26
pom.xml
@ -19,7 +19,7 @@
|
|||||||
</repository>
|
</repository>
|
||||||
<repository>
|
<repository>
|
||||||
<id>citizens</id>
|
<id>citizens</id>
|
||||||
<url>http://repo.citizensnpcs.co</url>
|
<url>http://repo.citizensnpcs.co/</url>
|
||||||
</repository>
|
</repository>
|
||||||
<repository>
|
<repository>
|
||||||
<id>sk89q-repo</id>
|
<id>sk89q-repo</id>
|
||||||
@ -29,6 +29,14 @@
|
|||||||
<id>placeholderapi</id>
|
<id>placeholderapi</id>
|
||||||
<url>http://repo.extendedclip.com/content/repositories/placeholderapi/</url>
|
<url>http://repo.extendedclip.com/content/repositories/placeholderapi/</url>
|
||||||
</repository>
|
</repository>
|
||||||
|
<repository>
|
||||||
|
<id>heroes-stripped</id>
|
||||||
|
<url>http://nexus.hc.to/content/repositories/pub_releases/</url>
|
||||||
|
</repository>
|
||||||
|
<repository>
|
||||||
|
<id>Vault</id>
|
||||||
|
<url>http://nexus.hc.to/content/repositories/pub_releases/</url>
|
||||||
|
</repository>
|
||||||
</repositories>
|
</repositories>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
@ -104,7 +112,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>net.citizensnpcs</groupId>
|
<groupId>net.citizensnpcs</groupId>
|
||||||
<artifactId>citizens</artifactId>
|
<artifactId>citizens</artifactId>
|
||||||
<version>2.0.22-SNAPSHOT</version>
|
<version>2.0.21-SNAPSHOT</version>
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
@ -116,9 +124,8 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>net.milkbowl.vault</groupId>
|
<groupId>net.milkbowl.vault</groupId>
|
||||||
<artifactId>Vault</artifactId>
|
<artifactId>Vault</artifactId>
|
||||||
<version>1.4.1</version>
|
<version>1.6.6</version>
|
||||||
<scope>system</scope>
|
<scope>provided</scope>
|
||||||
<systemPath>${project.basedir}/lib/Vault.jar</systemPath>
|
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.gmail.nossr50.mcMMO</groupId>
|
<groupId>com.gmail.nossr50.mcMMO</groupId>
|
||||||
@ -128,11 +135,10 @@
|
|||||||
<systemPath>${project.basedir}/lib/mcMMO.jar</systemPath>
|
<systemPath>${project.basedir}/lib/mcMMO.jar</systemPath>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.herocraftonline</groupId>
|
<groupId>com.herocraftonline.heroes</groupId>
|
||||||
<artifactId>Heroes</artifactId>
|
<artifactId>heroes-stripped</artifactId>
|
||||||
<version>1.5.5.4</version>
|
<version>4dd3dd85</version>
|
||||||
<scope>system</scope>
|
<scope>provided</scope>
|
||||||
<systemPath>${project.basedir}/lib/Heroes.jar</systemPath>
|
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.codisimus</groupId>
|
<groupId>com.codisimus</groupId>
|
||||||
|
@ -4047,6 +4047,7 @@ public class Quests extends JavaPlugin implements ConversationAbandonedListener
|
|||||||
return hero.getHeroClass().getName().equalsIgnoreCase(primaryClass);
|
return hero.getHeroClass().getName().equalsIgnoreCase(primaryClass);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SuppressWarnings("deprecation")
|
||||||
public boolean testSecondaryHeroesClass(String secondaryClass, UUID uuid) {
|
public boolean testSecondaryHeroesClass(String secondaryClass, UUID uuid) {
|
||||||
Hero hero = getHero(uuid);
|
Hero hero = getHero(uuid);
|
||||||
return hero.getSecondClass().getName().equalsIgnoreCase(secondaryClass);
|
return hero.getSecondClass().getName().equalsIgnoreCase(secondaryClass);
|
||||||
|
Loading…
Reference in New Issue
Block a user