World Copy method

This commit is contained in:
Rsl1122 2017-09-02 16:28:32 +03:00
parent e6414c5c2d
commit 451ebbf814

View File

@ -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());
}
}