mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-27 09:00:28 +08:00
World Copy method
This commit is contained in:
parent
e6414c5c2d
commit
451ebbf814
@ -85,4 +85,8 @@ public class BatchOperationTable extends Table {
|
||||
public void copyUserInfo(BatchOperationTable toDB) throws SQLException {
|
||||
toDB.db.getUserInfoTable().insertUserInfo(db.getUserInfoTable().getAllUserInfo());
|
||||
}
|
||||
|
||||
public void copyWorlds(BatchOperationTable toDB) throws SQLException {
|
||||
toDB.db.getWorldTable().saveWorlds(db.getWorldTable().getWorlds());
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user