v12 support
This commit is contained in:
		| @@ -18,25 +18,25 @@ export class RMSSItem extends Item { | ||||
|     if (!data.name.includes("(Copy)")) | ||||
|     { | ||||
|       if (this.type === "armor") { | ||||
|         await this.updateSource({img: "systems/rmss/assets/default/armor.svg"}); | ||||
|         await this.updateSource({img: "systems/fvtt-rolemaster-frp/assets/default/armor.svg"}); | ||||
|       } | ||||
|       else if (this.type === "weapon") { | ||||
|         await this.updateSource({img: "systems/rmss/assets/default/weapon.svg"}); | ||||
|         await this.updateSource({img: "systems/fvtt-rolemaster-frp/assets/default/weapon.svg"}); | ||||
|       } | ||||
|       else if (this.type === "skill") { | ||||
|         await this.updateSource({img: "systems/rmss/assets/default/skill.svg"}); | ||||
|         await this.updateSource({img: "systems/fvtt-rolemaster-frp/assets/default/skill.svg"}); | ||||
|       } | ||||
|       else if (this.type === "skill_category") { | ||||
|         await this.updateSource({img: "systems/rmss/assets/default/skill_category.svg"}); | ||||
|         await this.updateSource({img: "systems/fvtt-rolemaster-frp/assets/default/skill_category.svg"}); | ||||
|       } | ||||
|       else if (this.type === "spell") { | ||||
|         await this.updateSource({img: "systems/rmss/assets/default/spell.svg"}); | ||||
|         await this.updateSource({img: "systems/fvtt-rolemaster-frp/assets/default/spell.svg"}); | ||||
|       } | ||||
|       else if (this.type === "herb_or_poison") { | ||||
|         await this.updateSource({img: "systems/rmss/assets/default/herb_or_poison.svg"}); | ||||
|         await this.updateSource({img: "systems/fvtt-rolemaster-frp/assets/default/herb_or_poison.svg"}); | ||||
|       } | ||||
|       else if (this.type === "transport") { | ||||
|         await this.updateSource({img: "systems/rmss/assets/default/transport.svg"}); | ||||
|         await this.updateSource({img: "systems/fvtt-rolemaster-frp/assets/default/transport.svg"}); | ||||
|       } | ||||
|     } | ||||
|   } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user