Refactor to remove abstraction
This commit is contained in:
1 parent
4d08857de1
commit
ea5cbf3f0c
2 files changed
+77
-65
No files matched your search
@@ -138,8 +138,8 @@ public class Contract extends AbstractGameObject {
|
||||
|
||||
//Specify if trainer, merchant, banker, etc via classID
|
||||
private void setBools() {
|
||||
DbManager.ContractQueries.GET_GENERIC_INVENTORY(this);
|
||||
DbManager.ContractQueries.GET_SELL_LISTS(this);
|
||||
DbManager.ContractQueries.LOAD_CONTRACT_INVENTORY(this);
|
||||
DbManager.ContractQueries.LOAD_SELL_LIST_FOR_CONTRACT(this);
|
||||
|
||||
this.isTrainer = this.classID > 2499 && this.classID < 3050 || this.classID == 2028;
|
||||
|
||||
|
||||
Reference in new issue
Block a user