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