Refactor to remove abstraction

This commit is contained in:
2023-05-21 17:20:09 -04:00
parent 4d08857de1
commit ea5cbf3f0c
2 changed files with 77 additions and 65 deletions
+2 -2
View File
@@ -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;