Page 1 of 1

[Asked][1.9.43p] Plugin crash (aes.json:756)

Posted: 17 Feb 2022, 19:54
by egormrcotPC
:fire Hi, I got the following error with a plugin (aes.json:756):

Code: Select all

In plugins/aes/aes.json:

io.blueflower.stapel2d.util.json.JSONException: Unterminated object at line 23, char 2. Excerpt: 
    ]
	--ERROR->>>"upgrades": [{

Full source: [
  { 
    "id":"121334354365756444.1",
    "type":"fire brigade",
    "author":"EgormrcotPC",
    "width":3,
    "height":3,
    "frames":[{"bmp":"AES.png"}],
    "level":1,
	"price":100000,
	"build height":2,
	
      
      
    
	"car spawner":[
      {
        "cars":["$carfirebrigade00"],
        "radius":512,
        "count":8
      }
    ]
	"upgrades": [{
		"id": "121334354365756444r2",
		"frames": [{
			"bmp": "aes2.png"
		}],
		"price": 2000,
		"monthly price": 1,
		"car spawner":[
			{
			"cars":["$carfirebrigade00"],
			"radius":512,
			"count":4
			}
		]
		
	}]
  }
]
:fire :fire :fire :x :x :x :x :x :x :x

Device: ()
OS version: 0

Thank you in advance.

Re: [Asked][1.9.43p] Plugin crash (aes.json:756)

Posted: 18 Feb 2022, 03:57
by CommanderABab
You're missing a comma after the ] of the first car spawner.