Page 1 of 1

[Asked][1.9.24a] Plugin crash (watertower.json:125)

Posted: 19 Aug 2020, 16:04
by MarioBitMap
Hi, I got the following error with a plugin (watertower.json:125):

Code: Select all

In plugins/water/watertower.json:

java.lang.IllegalStateException: When loading "$WaterTowerPlazadeCastilla": No value for x
Device: Redmi Note 8T (Xiaomi)
OS version: 28

My code:

Code: Select all

[
  { 
 "id":"$WaterTowerPlazadeCastilla",
    "type":"water",
    "width":2,
    "height":2,
    "frames":[{"bpm":"isabel_a.png"}],
    "price":18000,
    "monthly price":550,
    "water":38000,
    "power":0,
    "needs land":true,
    "upgrades":[
      {
        "id":"$WaterTowerPlazadeCastilla_Publicity",
        "frames":[{"bpm":"isabel_b.png"}, {"bpm":"isabel_d.png"}],
        "price":4000,
        "monthly price":50,
        "influence culture":3,
        "requirement":{
          "requirements":[
            {"type":"RANK",
            "data":{"id":"$rnk_city_big"}}
          ]
       }
       },
     {
        "id":"$WaterTowerPlazadeCastilla_Remodel",
        "frames":[{"bmp":"isabel_e.png"}],
        "price":6000,
        "monthly price":100,
        "influence culture":15,
        "build time":20,
    "requirement":{
      "requirements":[
        {
          "type":"RANK",
          "data":{
            "id":"$rnk_metropolis_small"
            }
        }
        ]
        }
    }
]
}
]

Thank you in advance.

Re: [Asked][1.9.24a] Plugin crash (watertower.json:125)

Posted: 19 Aug 2020, 16:45
by ian`
"bmp", not bpm.

[Answered][1.9.24a] Plugin crash (watertower.json:125)

Posted: 09 Sep 2020, 20:42
by The_Real_Michael_1
You mispelled the word "bmp".