Fix maker disassembly fee not being applied

This commit is contained in:
P0nk
2023-03-04 22:35:16 +01:00
parent d2d4b442d2
commit 1fd0963401
2 changed files with 11 additions and 7 deletions

View File

@@ -182,7 +182,7 @@ public class MakerItemFactory {
return reqMakerLevel;
}
public int getCost() {
public int getReqCost() {
return reqCost;
}
@@ -190,6 +190,10 @@ public class MakerItemFactory {
cost += amount;
}
public int getCost() {
return (int) this.cost;
}
protected void addReqItem(int itemId, int amount) {
reqItems.add(new Pair<>(itemId, amount));
}