This commit is contained in:
danielb 2024-05-23 19:18:57 +00:00
parent a9b0c79e9c
commit 150fc43548
2 changed files with 1 additions and 6 deletions

View File

@ -126,6 +126,7 @@ public class WorldSystemData extends AbstractSqlLiteDatabase {
ResultSet res = this.query(String.format("SELECT * FROM %s WHERE player_uuid = '%s';", WS_WORLDS, uuid));
while (res.next()) {
System.out.println(res);
int world_id = res.getInt("world_id");
String player_uuid = res.getString("player_uuid");
String player_name = res.getString("player_name");

View File

@ -119,12 +119,6 @@ public class DependenceConfig {
WorldSystemData db = WorldSystemData.connect();
PlayerWorld[] worlds = db.getWorldsForPlayer(uuid);
System.out.println(worlds[0].getWorld_id());
System.out.println(worlds[0].getLast_loaded());
System.out.println(worlds[0].getPlayer_name());
System.out.println(worlds[0].getPlayer_uuid());
return "ID" + worlds[0].getWorld_id() + "-" + uuid;
}