mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-01-01 05:57:50 +01:00
Fixed NoSuchMethodError #421
This commit is contained in:
parent
3ab8551c11
commit
432ae75d0e
23
Plan/pom.xml
23
Plan/pom.xml
@ -11,13 +11,29 @@
|
||||
<id>bungeecord-repo</id>
|
||||
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
||||
</repository>
|
||||
<repository>
|
||||
<id>spigot-repo</id>
|
||||
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
|
||||
</repository>
|
||||
<repository>
|
||||
<id>paper-repo</id>
|
||||
<url>https://repo.destroystokyo.com/content/repositories/snapshots/</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
<dependencies>
|
||||
<!-- PaperSpigot 1.12 -->
|
||||
<!-- PaperSpigot -->
|
||||
<dependency>
|
||||
<groupId>com.destroystokyo.paper</groupId>
|
||||
<artifactId>paper</artifactId>
|
||||
<version>1.12-R0.1-20170725.202533-1</version>
|
||||
<artifactId>paper-api</artifactId>
|
||||
<version>LATEST</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<!-- Spigot -->
|
||||
<dependency>
|
||||
<groupId>org.spigotmc</groupId>
|
||||
<artifactId>spigot-api</artifactId>
|
||||
<version>1.12-R0.1-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<!-- BungeeCord -->
|
||||
@ -28,6 +44,7 @@
|
||||
<type>jar</type>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<!-- StringUtils lang3 -->
|
||||
<dependency>
|
||||
<groupId>org.apache.commons</groupId>
|
||||
<artifactId>commons-lang3</artifactId>
|
||||
|
@ -2,7 +2,6 @@ package main.java.com.djrapitops.plan.utilities.comparators;
|
||||
|
||||
import main.java.com.djrapitops.plan.locale.Message;
|
||||
import main.java.com.djrapitops.plan.locale.Msg;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
|
||||
import java.util.Comparator;
|
||||
import java.util.Map;
|
||||
@ -17,6 +16,6 @@ public class LocaleEntryComparator implements Comparator<Map.Entry<Msg, Message>
|
||||
|
||||
@Override
|
||||
public int compare(Map.Entry<Msg, Message> o1, Map.Entry<Msg, Message> o2) {
|
||||
return StringUtils.compare(o1.getKey().name(), o2.getKey().name());
|
||||
return String.CASE_INSENSITIVE_ORDER.compare(o1.getKey().name(), o2.getKey().name());
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user