Page 1 of 1

[510] Plugin crash (SubmarineAircraft.json:149)

Posted: 21 Aug 2018, 09:04
by Blyat009
Hi, I got the following error with a my plugin (SubmarineAircraft.json:149):

Code: Select all

In /storage/emulated/0/TheoTown/plugins/I400/SubmarineAircraft.json:

org.json.JSONException: Expected literal value at character 143 of [ {"id":"$Submarinecraft00","type":"decoration","author":"blyat009","width":160,"height":80,"frames":[{"bmp":"I-400.png"}], "needs water":true,} ] 
Device: SHL23 (KDDI)
Android: 17 (4.2.2)

Help meeeeeeeeeeeeeeee

Re: [510] Plugin crash (SubmarineAircraft.json:149)

Posted: 21 Aug 2018, 15:04
by Bearbear76
Doesn't need a comma after "needs water":true
It's simple just don't put a comma before }]