1.6.9
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>us.ajg0702</groupId>
|
||||
<artifactId>ajQueue</artifactId>
|
||||
<version>1.6.8</version>
|
||||
<version>1.6.9</version>
|
||||
<name>ajQueue</name>
|
||||
|
||||
<repositories>
|
||||
@@ -22,9 +22,19 @@
|
||||
<id>CodeMC</id>
|
||||
<url>https://repo.codemc.org/repository/maven-public</url>
|
||||
</repository>
|
||||
<repository>
|
||||
<id>jitpack.io</id>
|
||||
<url>https://jitpack.io</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.github.MyzelYam</groupId>
|
||||
<artifactId>PremiumVanishAPI</artifactId>
|
||||
<version>2.0.3</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>us.ajg0702</groupId>
|
||||
<artifactId>ajUtils</artifactId>
|
||||
|
||||
@@ -249,6 +249,7 @@ public class Main extends Plugin implements Listener {
|
||||
String[] parts = data.split(",");
|
||||
for(String part : parts) {
|
||||
String[] pparts = part.split(":");
|
||||
if(pparts.length < 2) continue;
|
||||
String pname = pparts[0];
|
||||
String pserver = pparts[1];
|
||||
ProxiedPlayer p = ProxyServer.getInstance().getPlayer(pname);
|
||||
|
||||
@@ -42,7 +42,7 @@ public class Main extends JavaPlugin implements PluginMessageListener,Listener {
|
||||
|
||||
Bukkit.getScheduler().runTaskTimer(this, new Runnable() {
|
||||
public void run() {
|
||||
if(Bukkit.getOnlinePlayers().size() <= 0) return;
|
||||
if(Bukkit.getOnlinePlayers().size() <= 0 || queuebatch.size() <= 0) return;
|
||||
String msg = "";
|
||||
for(Player p : queuebatch.keySet()) {
|
||||
msg += p.getName()+":"+queuebatch.get(p)+",";
|
||||
|
||||
Reference in New Issue
Block a user