forked from GitHub-Mirrors/foundry-sw5e
Merge pull request #32 from cbnathanael/master
removed duplicate data.isLine check
This commit is contained in:
commit
088aa386ad
1 changed files with 1 additions and 5 deletions
|
@ -48,10 +48,6 @@ export default class ItemSheet5e extends ItemSheet {
|
|||
data.itemProperties = this._getItemProperties(data.item);
|
||||
data.isPhysical = data.item.data.hasOwnProperty("quantity");
|
||||
|
||||
// Item Area Target
|
||||
data.isLine = ["line", "wall"].includes(data.item.data.target.type);
|
||||
|
||||
|
||||
// Potential consumption targets
|
||||
data.abilityConsumptionTargets = this._getItemConsumptionTargets(data.item);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue