Tileset tile animation (from Tiled JSON map)

Hi!

I created a Tilemap with Tiled JSON format. I created a animation with Tiled. JSON code:

"tiles": [ 
     { "animation": [
              { "duration": 200, "tileid": 80 },
              { "duration": 200, "tileid": 81 }
      ],
      "id": 80
    }],

I want animate this tile with Phaser.

Auto-answer:

With “phaser-animated-tiles” I get this error:

Uncaught TypeError: Cannot read property 'type' of null

Follow steps of this issue, I change AnimatedTiles.js and fix error to works in Phaser 3.24.1: