Fix Player page updating on Bungee

This commit is contained in:
Rsl1122 2018-08-08 11:46:02 +03:00
parent da87e8c0c2
commit f16dd73376

View File

@ -2,6 +2,7 @@ package com.djrapitops.plan.system.processing.processors.info;
import com.djrapitops.plan.system.info.InfoSystem;
import com.djrapitops.plan.system.info.connection.WebExceptionLogger;
import com.djrapitops.plugin.api.Check;
import com.djrapitops.plugin.api.TimeAmount;
import com.djrapitops.plugin.task.AbsRunnable;
import com.djrapitops.plugin.task.RunnableFactory;
@ -18,7 +19,7 @@ public class PlayerPageUpdateProcessor implements Runnable {
@Override
public void run() {
if (!InfoSystem.getInstance().getConnectionSystem().isServerAvailable()) {
if (!InfoSystem.getInstance().getConnectionSystem().isServerAvailable() || Check.isBungeeAvailable()) {
RunnableFactory.createNew("Generate Inspect page: " + uuid, new AbsRunnable() {
@Override
public void run() {