Code: Select all
In plugins/toby/code.json:
io.blueflower.stapel2d.util.json.JSONException: Names must be strings, but {"id":"$notify_test00","type":"notification","text":"Hi, I'm a test notification!","frames":[{"steal":"$anim_people_source09","frame":14}]} is of type io.blueflower.stapel2d.util.json.JSONObject at line 21, char 13. Excerpt:
"frames":[{"steal":"$anim_people_source09","frame":14}]
--ERROR->>>}
Full source: [
{
"id": "$pcw_803de05faed200",
"type": "energy",
"author": "Plugin creator website 3.0 & TobyArch",
"width": 1,
"height": 1,
"frames": [
{
"bmp": "1x1 (1).png"
}
],
"smoke": [
{"id": "$smoke02","x": 14,"y": -11}
],
{
"id":"$notify_test00",
"type":"notification",
"text":"Hi, I'm a test notification!",
"frames":[{"steal":"$anim_people_source09","frame":14}]
}
],
"title": "Generator tower",
"text": "A 1×1 generator tower that act as power, water generator and waste incerator (be aware of pollution)",
"price": 0,
"power": 150000,
"water": 250000,
"influence waste disposal":140,
"build time": 0,
"influence noise": 3,
"influence pollution": 5,
"burnable": false,
"need road": true,
"destroyable": false,
"removable": true,
"pickable": true
}
]
OS version: 30
Thank you in advance.