-Kuni Warden School Scorpion -> Crab
-Added warn when the property id is unknown
This commit is contained in:
@@ -197,6 +197,8 @@ export class HelpersL5r5e {
|
||||
const gameProp = await HelpersL5r5e.getObjectGameOrPack({ id: property.id, type: "Item" });
|
||||
if (gameProp) {
|
||||
return { id: gameProp.id, name: gameProp.name };
|
||||
} else {
|
||||
console.warn(`L5R5E | Unknown property id[${property.id}]`);
|
||||
}
|
||||
return property;
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user