diff --git a/BlueMapCommon/src/main/java/de/bluecolored/bluemap/common/api/AssetStorageImpl.java b/BlueMapCommon/src/main/java/de/bluecolored/bluemap/common/api/AssetStorageImpl.java index 6b6a7c5a..8273e458 100644 --- a/BlueMapCommon/src/main/java/de/bluecolored/bluemap/common/api/AssetStorageImpl.java +++ b/BlueMapCommon/src/main/java/de/bluecolored/bluemap/common/api/AssetStorageImpl.java @@ -34,7 +34,7 @@ public class AssetStorageImpl implements AssetStorage { - private static final String ASSET_PATH = "live/assets/"; + private static final String ASSET_PATH = "assets/"; private final Storage storage; private final String mapId; diff --git a/BlueMapCommon/src/main/java/de/bluecolored/bluemap/common/plugin/skins/PlayerSkinUpdater.java b/BlueMapCommon/src/main/java/de/bluecolored/bluemap/common/plugin/skins/PlayerSkinUpdater.java index 5d4c892e..3df5e797 100644 --- a/BlueMapCommon/src/main/java/de/bluecolored/bluemap/common/plugin/skins/PlayerSkinUpdater.java +++ b/BlueMapCommon/src/main/java/de/bluecolored/bluemap/common/plugin/skins/PlayerSkinUpdater.java @@ -92,7 +92,7 @@ public CompletableFuture updateSkin(final UUID playerUuid) { BufferedImage playerHead = playerMarkerIconFactory.apply(playerUuid, skin.get()); for (BmMap map : maps.values()) { - try (OutputStream out = map.getStorage().writeMeta(map.getId(), "live/assets/playerheads/" + playerUuid + ".png")) { + try (OutputStream out = map.getStorage().writeMeta(map.getId(), "assets/playerheads/" + playerUuid + ".png")) { ImageIO.write(playerHead, "png", out); } catch (IOException ex) { Logger.global.logError("Failed to write player skin to storage: " + playerUuid, ex); diff --git a/BlueMapCommon/webapp/src/components/Menu/MarkerItem.vue b/BlueMapCommon/webapp/src/components/Menu/MarkerItem.vue index 8d12c0b5..24c53ad1 100644 --- a/BlueMapCommon/webapp/src/components/Menu/MarkerItem.vue +++ b/BlueMapCommon/webapp/src/components/Menu/MarkerItem.vue @@ -2,7 +2,7 @@
- playerhead + playerhead
{{markerLabel}}
diff --git a/BlueMapCommon/webapp/src/js/BlueMapApp.js b/BlueMapCommon/webapp/src/js/BlueMapApp.js index cf929e24..dd471a33 100644 --- a/BlueMapCommon/webapp/src/js/BlueMapApp.js +++ b/BlueMapCommon/webapp/src/js/BlueMapApp.js @@ -356,7 +356,7 @@ export class BlueMapApp { const map = this.mapViewer.map; if (!map) return; - this.playerMarkerManager = new PlayerMarkerManager(this.mapViewer.markers, map.data.dataUrl + "live/players.json", map.data.dataUrl + "live/assets/playerheads/", this.events); + this.playerMarkerManager = new PlayerMarkerManager(this.mapViewer.markers, map.data.dataUrl + "live/players.json", map.data.dataUrl + "assets/playerheads/", this.events); this.playerMarkerManager.setAutoUpdateInterval(0); return this.playerMarkerManager.update() .then(() => {