Ironwood RPG - Pancake-Scripts

A collection of scripts to enhance Ironwood RPG - https://github.com/Boldy97/ironwood-scripts

< 脚本 Ironwood RPG - Pancake-Scripts 的反馈

评价:一般 - 脚本能用,但还有一些问题

§
发布于:2025-05-13

Enjoying the script but there is a bug/error when using it on Microsoft Edge. There is an error during the config key look up where the Key is "undefined". This causes the script to not run properly and nothing visually changes.

Original code

async function initialise() {
    configs = await configurationStore.load();
    for(const key in configs) {
        configs[key] = JSON.parse(configs[key]);
    }
    initialised.resolve(exports);
}

Edited code:

async function initialise() {
    configs = await configurationStore.load();
    for(const key in configs) {
        if(key !== "undefined") {
            configs[key] = JSON.parse(configs[key]);
        }
    }
    initialised.resolve(exports);
}
Pancakelord作者
§
发布于:2025-06-26

This should now be resolved!

发布留言

登录(不可用)以发布留言。

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址