Fix crafted accessories apparently
.... .. stupid
This commit is contained in:
parent
86719b749a
commit
adc90821e6
1 changed files with 2 additions and 2 deletions
|
@ -258,7 +258,7 @@ class ItemInputDisplayNode extends ComputeNode {
|
||||||
this.input_field.classList.add("is-invalid");
|
this.input_field.classList.add("is-invalid");
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
if (item.statMap.has('powders')) {
|
if (this.powder_field && item.statMap.has('powders')) {
|
||||||
this.powder_field.placeholder = "powders";
|
this.powder_field.placeholder = "powders";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -266,7 +266,7 @@ class ItemInputDisplayNode extends ComputeNode {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (item.statMap.has('powders')) {
|
if (this.powder_field && item.statMap.has('powders')) {
|
||||||
this.powder_field.placeholder = item.statMap.get('slots') + ' slots';
|
this.powder_field.placeholder = item.statMap.get('slots') + ' slots';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue