Mobtype work related to ForgeManager

This commit is contained in:
2024-04-14 13:13:28 -04:00
parent 74e97fb435
commit ea555be08e
6 changed files with 27 additions and 14 deletions
+3 -3
View File
@@ -34,7 +34,7 @@ public class Contract extends AbstractGameObject {
private ArrayList<Integer> npcMenuOptions = new ArrayList<>();
private ArrayList<Integer> npcModTypeTable = new ArrayList<>();
private ArrayList<Integer> npcModSuffixTable = new ArrayList<>();
private ArrayList<Byte> itemModTable = new ArrayList<>();
private ArrayList<Integer> itemModTable = new ArrayList<>();
private ArrayList<Item> sellInventory = new ArrayList<>();
public EnumSet<mbEnums.BuildingGroup> allowedBuildings;
private ArrayList<Integer> buyItemType = new ArrayList<>();
@@ -122,7 +122,7 @@ public class Contract extends AbstractGameObject {
if (!itemMod.isEmpty()) {
String[] data2 = itemMod.split(" ");
for (byte i = 0; i < data2.length; i++) {
this.itemModTable.add(Byte.parseByte(data2[i]));
this.itemModTable.add(Integer.parseInt(data2[i]));
}
}
@@ -193,7 +193,7 @@ public class Contract extends AbstractGameObject {
return npcModSuffixTable;
}
public ArrayList<Byte> getItemModTable() {
public ArrayList<Integer> getItemModTable() {
return itemModTable;
}