1
0
mirror of https://github.com/Zrips/Jobs.git synced 2024-11-26 04:25:15 +01:00

Exclude some things from pom

This commit is contained in:
montlikadani 2020-11-24 20:52:32 +01:00
parent 891262ca00
commit ec2d4a1846
2 changed files with 13 additions and 2 deletions

12
pom.xml
View File

@ -67,6 +67,10 @@
<groupId>org.bukkit</groupId> <groupId>org.bukkit</groupId>
<artifactId>bukkit</artifactId> <artifactId>bukkit</artifactId>
</exclusion> </exclusion>
<exclusion>
<groupId>com.sk89q.spigot</groupId>
<artifactId>bukkit-classloader-check</artifactId>
</exclusion>
</exclusions> </exclusions>
</dependency> </dependency>
<!-- WorldGuard new version --> <!-- WorldGuard new version -->
@ -127,6 +131,10 @@
truevfs-profile-default_2.13 truevfs-profile-default_2.13
</artifactId> </artifactId>
</exclusion> </exclusion>
<exclusion>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j-impl</artifactId>
</exclusion>
</exclusions> </exclusions>
</dependency> </dependency>
<!-- PlaceholderAPI --> <!-- PlaceholderAPI -->
@ -140,6 +148,10 @@
<groupId>me.rayzr522</groupId> <groupId>me.rayzr522</groupId>
<artifactId>jsonmessage</artifactId> <artifactId>jsonmessage</artifactId>
</exclusion> </exclusion>
<exclusion>
<groupId>org.jetbrains</groupId>
<artifactId>annotations</artifactId>
</exclusion>
</exclusions> </exclusions>
</dependency> </dependency>
<!-- WildStacker --> <!-- WildStacker -->

View File

@ -238,14 +238,13 @@ public class Placeholder {
Matcher matcher = this.getRule().getMatcher(text); Matcher matcher = this.getRule().getMatcher(text);
if (matcher == null) if (matcher == null)
return lsInLs; return lsInLs;
while (matcher.find()) { if (matcher.find()) {
try { try {
for (Integer oneG : groups) { for (Integer oneG : groups) {
lsInLs.add(matcher.group(oneG + 1)); lsInLs.add(matcher.group(oneG + 1));
} }
} catch (Exception e) { } catch (Exception e) {
} }
break;
} }
return lsInLs; return lsInLs;
} }