forgot a little test
This commit is contained in:
@@ -69,7 +69,7 @@ export class HelpersL5r5e {
|
|||||||
static async getObjectGameOrPack(id, type, pack = null) {
|
static async getObjectGameOrPack(id, type, pack = null) {
|
||||||
try {
|
try {
|
||||||
// If no pack passed, but it's a core item, we know the pack to get it
|
// If no pack passed, but it's a core item, we know the pack to get it
|
||||||
if (!pack) {
|
if (!pack && id.substr(0, 7) === "L5RCore") {
|
||||||
pack = HelpersL5r5e.getPackNameForCoreItem(id);
|
pack = HelpersL5r5e.getPackNameForCoreItem(id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user