Merge pull request #90 from hppeng-wynn/powder-acc-fix
Fix crafted accessories apparently
This commit is contained in:
commit
bacc98b003
1 changed files with 2 additions and 2 deletions
|
@ -258,7 +258,7 @@ class ItemInputDisplayNode extends ComputeNode {
|
|||
this.input_field.classList.add("is-invalid");
|
||||
return null;
|
||||
}
|
||||
if (item.statMap.has('powders')) {
|
||||
if (this.powder_field && item.statMap.has('powders')) {
|
||||
this.powder_field.placeholder = "powders";
|
||||
}
|
||||
|
||||
|
@ -266,7 +266,7 @@ class ItemInputDisplayNode extends ComputeNode {
|
|||
return null;
|
||||
}
|
||||
|
||||
if (item.statMap.has('powders')) {
|
||||
if (this.powder_field && item.statMap.has('powders')) {
|
||||
this.powder_field.placeholder = item.statMap.get('slots') + ' slots';
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue