From e9dc82df66c39e0eee8fb5e4317db48b14cdbe09 Mon Sep 17 00:00:00 2001 From: Rsl1122 Date: Thu, 24 May 2018 21:36:21 +0300 Subject: [PATCH] Fixes individual server charts not appearing #581 --- .../java/com/djrapitops/plan/utilities/html/HtmlStructure.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Plan/src/main/java/com/djrapitops/plan/utilities/html/HtmlStructure.java b/Plan/src/main/java/com/djrapitops/plan/utilities/html/HtmlStructure.java index 3a504e3bb..246c6dc60 100644 --- a/Plan/src/main/java/com/djrapitops/plan/utilities/html/HtmlStructure.java +++ b/Plan/src/main/java/com/djrapitops/plan/utilities/html/HtmlStructure.java @@ -20,6 +20,7 @@ import com.djrapitops.plugin.api.utility.log.Log; import com.djrapitops.plugin.utilities.Verify; import java.util.*; +import java.util.concurrent.ThreadLocalRandom; /** * Class for parsing layout components of the websites. @@ -122,7 +123,7 @@ public class HtmlStructure { Database db = Database.getActive(); UUID serverUUID = server.getUuid(); - String id = serverUUID.toString().replace("-", ""); + String id = ThreadLocalRandom.current().nextInt(100) + serverUUID.toString().replace("-", ""); int playerCount = 0; String playerData = "[]";