mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-09-12 06:48:50 +02:00
Fixes individual server charts not appearing #581
This commit is contained in:
parent
495eb3f6c0
commit
e9dc82df66
@ -20,6 +20,7 @@ import com.djrapitops.plugin.api.utility.log.Log;
|
|||||||
import com.djrapitops.plugin.utilities.Verify;
|
import com.djrapitops.plugin.utilities.Verify;
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
import java.util.concurrent.ThreadLocalRandom;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class for parsing layout components of the websites.
|
* Class for parsing layout components of the websites.
|
||||||
@ -122,7 +123,7 @@ public class HtmlStructure {
|
|||||||
|
|
||||||
Database db = Database.getActive();
|
Database db = Database.getActive();
|
||||||
UUID serverUUID = server.getUuid();
|
UUID serverUUID = server.getUuid();
|
||||||
String id = serverUUID.toString().replace("-", "");
|
String id = ThreadLocalRandom.current().nextInt(100) + serverUUID.toString().replace("-", "");
|
||||||
|
|
||||||
int playerCount = 0;
|
int playerCount = 0;
|
||||||
String playerData = "[]";
|
String playerData = "[]";
|
||||||
|
Loading…
Reference in New Issue
Block a user