Fix not able to teleport to players on other worlds. Fixes: #451

This commit is contained in:
Lukas Rieger (Blue) 2023-07-11 20:07:10 +02:00
parent 282b3806f3
commit 074bc4a436
No known key found for this signature in database
GPG Key ID: 2D09EC5ED2687FF2

View File

@ -349,7 +349,7 @@ export class BlueMapApp {
return new Promise((resolve, reject) => {
let loader = new FileLoader();
loader.setResponseType("json");
loader.load(map.data.dataUrl + "live/players?" + generateCacheHash(),
loader.load(map.data.dataUrl + "live/players.json?" + generateCacheHash(),
fileData => {
if (!fileData) reject(`Failed to parse '${this.fileUrl}'!`);
else resolve(fileData);