mirror of
https://github.com/trainerlord/WorldSystem.git
synced 2025-01-06 18:47:52 +01:00
log id
This commit is contained in:
parent
a9b0c79e9c
commit
150fc43548
@ -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");
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user