Add better Fail massage than standard bungee
Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
6fb4866a4e
Commit
861d87e259
@ -18,6 +18,7 @@ import java.io.File;
|
|||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
import java.util.concurrent.TimeUnit;
|
import java.util.concurrent.TimeUnit;
|
||||||
|
import java.util.logging.Level;
|
||||||
|
|
||||||
public class TablistManager extends BasicListener {
|
public class TablistManager extends BasicListener {
|
||||||
|
|
||||||
@ -78,6 +79,7 @@ public class TablistManager extends BasicListener {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private synchronized void updateCustomTablist(){
|
private synchronized void updateCustomTablist(){
|
||||||
|
try{
|
||||||
calcHeader();
|
calcHeader();
|
||||||
|
|
||||||
//Calculate server-player-map
|
//Calculate server-player-map
|
||||||
@ -109,6 +111,9 @@ public class TablistManager extends BasicListener {
|
|||||||
tablist.refresh();
|
tablist.refresh();
|
||||||
|
|
||||||
seconds++;
|
seconds++;
|
||||||
|
}catch(NullPointerException e){
|
||||||
|
ProxyServer.getInstance().getLogger().log(Level.SEVERE, "NPE", e);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@EventHandler
|
@EventHandler
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren