1.6.12 & 1.6.13
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
<groupId>us.ajg0702</groupId>
|
<groupId>us.ajg0702</groupId>
|
||||||
<artifactId>ajQueue</artifactId>
|
<artifactId>ajQueue</artifactId>
|
||||||
<name>ajQueue</name>
|
<name>ajQueue</name>
|
||||||
<version>1.6.11</version>
|
<version>1.6.13</version>
|
||||||
<build>
|
<build>
|
||||||
<resources>
|
<resources>
|
||||||
<resource>
|
<resource>
|
||||||
@@ -58,6 +58,14 @@
|
|||||||
<pattern>redis.clients.jedis</pattern>
|
<pattern>redis.clients.jedis</pattern>
|
||||||
<shadedPattern>us.ajg0702.queue.jedis</shadedPattern>
|
<shadedPattern>us.ajg0702.queue.jedis</shadedPattern>
|
||||||
</relocation>
|
</relocation>
|
||||||
|
<relocation>
|
||||||
|
<pattern>org.slf4j</pattern>
|
||||||
|
<shadedPattern>us.ajg0702.queue.slf4j</shadedPattern>
|
||||||
|
</relocation>
|
||||||
|
<relocation>
|
||||||
|
<pattern>org.apache.commons</pattern>
|
||||||
|
<shadedPattern>us.ajg0702.queue.apache.commons</shadedPattern>
|
||||||
|
</relocation>
|
||||||
</relocations>
|
</relocations>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>us.ajg0702</groupId>
|
<groupId>us.ajg0702</groupId>
|
||||||
<artifactId>ajQueue</artifactId>
|
<artifactId>ajQueue</artifactId>
|
||||||
<version>1.6.11</version>
|
<version>1.6.13</version>
|
||||||
<name>ajQueue</name>
|
<name>ajQueue</name>
|
||||||
|
|
||||||
<repositories>
|
<repositories>
|
||||||
@@ -130,6 +130,14 @@
|
|||||||
<pattern>redis.clients.jedis</pattern>
|
<pattern>redis.clients.jedis</pattern>
|
||||||
<shadedPattern>us.ajg0702.queue.jedis</shadedPattern>
|
<shadedPattern>us.ajg0702.queue.jedis</shadedPattern>
|
||||||
</relocation>
|
</relocation>
|
||||||
|
<relocation>
|
||||||
|
<pattern>org.slf4j</pattern>
|
||||||
|
<shadedPattern>us.ajg0702.queue.slf4j</shadedPattern>
|
||||||
|
</relocation>
|
||||||
|
<relocation>
|
||||||
|
<pattern>org.apache.commons</pattern>
|
||||||
|
<shadedPattern>us.ajg0702.queue.apache.commons</shadedPattern>
|
||||||
|
</relocation>
|
||||||
</relocations>
|
</relocations>
|
||||||
</configuration>
|
</configuration>
|
||||||
<executions>
|
<executions>
|
||||||
|
|||||||
@@ -226,7 +226,11 @@ public class Main extends Plugin implements Listener {
|
|||||||
server.getQueue().remove(p);
|
server.getQueue().remove(p);
|
||||||
}
|
}
|
||||||
if(config.getBoolean("send-fail-debug")) {
|
if(config.getBoolean("send-fail-debug")) {
|
||||||
getLogger().warning("Failed to send "+p.getName()+" to "+e.getKickedFrom().getName()+" because "+e.getKickReasonComponent().toString());
|
String r = "";
|
||||||
|
for(BaseComponent b : e.getKickReasonComponent()) {
|
||||||
|
r += b.toPlainText();
|
||||||
|
}
|
||||||
|
getLogger().warning("Failed to send "+p.getName()+" to "+e.getKickedFrom().getName()+" because "+r);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user