|
|
@ -53,7 +53,6 @@ public class ItemProductionMsg extends ClientNetMsg { |
|
|
|
private int npcUUID; |
|
|
|
private int npcUUID; |
|
|
|
private boolean add; |
|
|
|
private boolean add; |
|
|
|
private int itemPrice; |
|
|
|
private int itemPrice; |
|
|
|
private boolean isMultiple; |
|
|
|
|
|
|
|
private HashMap<Integer, Integer> itemIDtoTypeMap; |
|
|
|
private HashMap<Integer, Integer> itemIDtoTypeMap; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
@ -440,7 +439,7 @@ public class ItemProductionMsg extends ClientNetMsg { |
|
|
|
this.pToken = reader.getInt(); |
|
|
|
this.pToken = reader.getInt(); |
|
|
|
this.sToken = reader.getInt(); |
|
|
|
this.sToken = reader.getInt(); |
|
|
|
this.name = reader.getString(); |
|
|
|
this.name = reader.getString(); |
|
|
|
this.isMultiple = reader.getInt() != 0 ? true : false; |
|
|
|
this.size = reader.getInt(); |
|
|
|
reader.getInt(); |
|
|
|
reader.getInt(); |
|
|
|
|
|
|
|
|
|
|
|
if (this.actionType == ACTION_COMPLETE || this.actionType == ACTION_JUNK) |
|
|
|
if (this.actionType == ACTION_COMPLETE || this.actionType == ACTION_JUNK) |
|
|
@ -543,11 +542,4 @@ public class ItemProductionMsg extends ClientNetMsg { |
|
|
|
return itemPrice; |
|
|
|
return itemPrice; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public boolean isMultiple() { |
|
|
|
|
|
|
|
return isMultiple; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void setMultiple(boolean isMultiple) { |
|
|
|
|
|
|
|
this.isMultiple = isMultiple; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|