Add Pl3xMap support, Close #58

This commit is contained in:
William committed 2021-08-26 12:16:59 +01:00
1 parent e28ceb20ff
commit c89d263505
10 files changed
+237 -76

No files matched your search

@@ -777,7 +777,7 @@ public class DataManager {
statement.setInt(1, addTeleportationPoint(warp, connection));
statement.setString(2, warp.getName());
statement.setString(3, warp.getDescription());
statement.setTimestamp(4, new Timestamp(System.currentTimeMillis()));
statement.setTimestamp(4, new Timestamp(warp.getCreationTime()));
statement.executeUpdate();
}
}
@@ -792,7 +792,7 @@ public class DataManager {
statement.setString(3, home.getName());
statement.setString(4, home.getDescription());
statement.setBoolean(5, home.isPublic());
statement.setTimestamp(6, new Timestamp(System.currentTimeMillis()));
statement.setTimestamp(6, new Timestamp(home.getCreationTime()));
statement.executeUpdate();
}
}