mirror of
https://github.com/BlueMap-Minecraft/BlueMapVue.git
synced 2025-01-27 08:21:19 +01:00
Fix clicking on player-markers not switching the map correctly
This commit is contained in:
parent
d74a5bed0f
commit
f5426ceac3
@ -1 +1 @@
|
||||
Subproject commit 211127e76b0ee193b6c7bc06a1df32aee231aa06
|
||||
Subproject commit a3de6f91226d827d79093c379c0b9289e4466e8e
|
@ -74,15 +74,8 @@ export default {
|
||||
|
||||
if (this.marker.type === "player") {
|
||||
|
||||
if (this.$bluemap.mapViewer.map.data.world !== this.marker.world) {
|
||||
let matchingMap = null;
|
||||
for (let map of this.$bluemap.maps) {
|
||||
if (map.data.world === this.marker.world) {
|
||||
matchingMap = map;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (this.marker.foreign) {
|
||||
let matchingMap = await this.$bluemap.findPlayerMap(this.marker.playerUuid);
|
||||
if (!matchingMap) return;
|
||||
|
||||
//this.$bluemap.appState.menu.closeAll();
|
||||
|
@ -7,17 +7,17 @@ module.exports = {
|
||||
proxy: {
|
||||
'/settings.json': {
|
||||
target: 'http://localhost:8100',
|
||||
//target: 'https://bluecolored.de/bluemap-dev',
|
||||
//target: 'https://bluecolored.de/bluemap',
|
||||
changeOrigin: true,
|
||||
},
|
||||
'/maps': {
|
||||
target: 'http://localhost:8100',
|
||||
//target: 'https://bluecolored.de/bluemap-dev',
|
||||
//target: 'https://bluecolored.de/bluemap',
|
||||
changeOrigin: true,
|
||||
},
|
||||
'/assets/playerheads': {
|
||||
target: 'http://localhost:8100',
|
||||
//target: 'https://bluecolored.de/bluemap-dev',
|
||||
//target: 'https://bluecolored.de/bluemap',
|
||||
changeOrigin: true,
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user