mirror of
https://github.com/SwingTheVine/Wplace-BlueMarble.git
synced 2026-05-19 07:51:49 +00:00
Fixed bug in tile loading
This commit is contained in:
parent
b6c5be427c
commit
cdaaaf11ed
1 changed files with 2 additions and 1 deletions
|
|
@ -132,7 +132,8 @@ export default class ApiManager {
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'tile' || 'tiles':
|
case 'tile':
|
||||||
|
case 'tiles':
|
||||||
|
|
||||||
let tileCoordsTile = data['endpoint'].split('/');
|
let tileCoordsTile = data['endpoint'].split('/');
|
||||||
tileCoordsTile = [parseInt(tileCoordsTile[tileCoordsTile.length - 2]), parseInt(tileCoordsTile[tileCoordsTile.length - 1].replace('.png', ''))];
|
tileCoordsTile = [parseInt(tileCoordsTile[tileCoordsTile.length - 2]), parseInt(tileCoordsTile[tileCoordsTile.length - 1].replace('.png', ''))];
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue