[Resolved][1.10.86a] Plugin crash (hospital(2)code.json:719)

Plugin specific problems will be solved here.

Moderator: Plugin Moderators

User avatar
Per sons
Settler
Reactions:
Posts: 2
Joined: 21 Nov 2020, 09:26

[Resolved][1.10.86a] Plugin crash (hospital(2)code.json:719)

#1

Post by Per sons »

Hi, I got the following error with a plugin (hospital(2)code.json:719):

Code: Select all

In hospital(2).zip:

io.blueflower.stapel2d.util.json.JSONException: Unterminated object at line 18, char 9. Excerpt: 
        "build time": 1
        --ERROR->>>"influence health": 900

Full source: [
    {
        "id": "$pcw_beacba6bc7f900",
        "type": "medic",
        "author": "Plugin creator website 3.0 & ...",
        "width": 4,
        "height": 4,
        "frames": [
            {
                "bmp": "pixil-frame-0 18.png"
            }
        ],
        "title": "Modernised Hospital",
        "text": "No tax because they sell medicine.",
        "price": 1,
        "monthly price": 0,
        "build time": 1
        "influence health": 900
        "provide aspect health care": 84000
    }
]
Device: SM-A528B (samsung)
OS version: 31

Thank you in advance.
User avatar
CommanderABab
AB
Reactions:
Posts: 11086
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: [Asked][1.10.86a] Plugin crash (hospital(2)code.json:719)

#2

Post by CommanderABab »

You didn't place a comma, after the 900 in the influence health line.
User avatar
Per sons
Settler
Reactions:
Posts: 2
Joined: 21 Nov 2020, 09:26

Re: [Asked][1.10.86a] Plugin crash (hospital(2)code.json:719)

#3

Post by Per sons »

Well I figured it out before you commented. Thanks anyways!
Post Reply Previous topicNext topic

Return to “Problems”