Page 1 of 1

[Asked][1.11.50i] Plugin crash (taiwan temple 1.json:145)

Posted: 04 May 2024, 14:27
by TeaisGreen
Hi everyone, I got the following error with a plugin (taiwan temple 1.json:145):

Code: Select all

In plugins/taiwanese tp1/taiwan temple 1.json:

java.lang.IllegalStateException: When loading "$taiwantemple_01": May not find image IMG_7972.PNG
here are my codes:

[
{
"active":"true",
"id":"$taiwantemple_01",
"type":"religion",
"title":"Taiwanese temple 01",
"text":"A Taiwanese temple",
"author":"TeaisGreen",
"width":1,
"height":1,
"frames":[
{
"bmp":"IMG_7972.PNG"
}
],
"needs road":"false",
"influence religion":70
}
]

the image is truly existing in my storage.So idk why the system can’t find it.
Device: iPhone (Apple)
OS version: 16

Thank you in advance.

Re: [Asked][1.11.50i] Plugin crash (taiwan temple 1.json:145)

Posted: 04 May 2024, 15:14
by PBbunnypower
Place it in the same folder as the json and ensure the name is correct

Re: [Asked][1.11.50i] Plugin crash (taiwan temple 1.json:145)

Posted: 04 May 2024, 15:16
by TeaisGreen
thx,problem fixed