mirror of
https://github.com/CivMC/Civ.git
synced 2026-07-18 00:20:44 +00:00
only enable queue listener if queue exists
This commit is contained in:
@@ -45,7 +45,9 @@ public class CivProxyPlugin {
|
||||
loadNameApiConfig();
|
||||
new PlayerCount(this, server).start();
|
||||
new PlayerRenamer(this, server, source).start();
|
||||
new QueueListener(this, server).start();
|
||||
if (server.getPluginManager().isLoaded("ajqueue")) {
|
||||
new QueueListener(this, server).start();
|
||||
}
|
||||
}
|
||||
|
||||
private void loadNameApiConfig() {
|
||||
|
||||
Reference in New Issue
Block a user