diff --git a/Plan/common/src/main/java/com/djrapitops/plan/utilities/html/pages/PlayersPage.java b/Plan/common/src/main/java/com/djrapitops/plan/utilities/html/pages/PlayersPage.java index 5671d1db7..cfbedae81 100644 --- a/Plan/common/src/main/java/com/djrapitops/plan/utilities/html/pages/PlayersPage.java +++ b/Plan/common/src/main/java/com/djrapitops/plan/utilities/html/pages/PlayersPage.java @@ -22,6 +22,7 @@ import com.djrapitops.plan.system.database.databases.Database; import com.djrapitops.plan.system.file.PlanFiles; import com.djrapitops.plan.system.info.server.ServerInfo; import com.djrapitops.plan.system.settings.config.PlanConfig; +import com.djrapitops.plan.system.settings.paths.PluginSettings; import com.djrapitops.plan.system.settings.paths.ProxySettings; import com.djrapitops.plan.system.update.VersionCheckSystem; import com.djrapitops.plan.utilities.formatting.PlaceholderReplacer; @@ -74,7 +75,7 @@ public class PlayersPage implements Page { placeholderReplacer.put("version", versionCheckSystem.getCurrentVersion()); placeholderReplacer.put("update", versionCheckSystem.getUpdateHtml().orElse("")); if (Check.isBukkitAvailable()) { - placeholderReplacer.put("networkName", serverInfo.getServer().getName()); + placeholderReplacer.put("networkName", config.get(PluginSettings.SERVER_NAME)); } else { placeholderReplacer.put("networkName", config.get(ProxySettings.NETWORK_NAME)); }