Refactor to remove abstraction
This commit is contained in:
1 parent
dc9a6fc825
commit
2cdb2fce42
4 files changed
+23
-122
No files matched your search
@@ -206,20 +206,8 @@ public class MobBase extends AbstractGameObject {
|
||||
return this.spawnTime;
|
||||
}
|
||||
|
||||
/*
|
||||
* Database
|
||||
*/
|
||||
public static MobBase getMobBase(int id) {
|
||||
return MobBase.getMobBase(id, false);
|
||||
}
|
||||
|
||||
public static MobBase getMobBase(int id, boolean forceDB) {
|
||||
return DbManager.MobBaseQueries.GET_MOBBASE(id, forceDB);
|
||||
}
|
||||
|
||||
|
||||
public static boolean renameMobBase(int ID, String newName) {
|
||||
return DbManager.MobBaseQueries.RENAME_MOBBASE(ID, newName);
|
||||
return DbManager.MobBaseQueries.GET_MOBBASE(id);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user