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或关注我们的公众号极客氢云获取最新地址