Skip to content

Commit 12d9446

Browse files
committed
Merge branch 'mc/1.13'
2 parents e410734 + 341c159 commit 12d9446

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

BlueMapCore/src/main/webroot/js/libs/hud/MarkerManager.js

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ export default class MarkerManager {
1313

1414
this.readyPromise =
1515
this.loadMarkerData()
16-
.then(this.loadMarkers);
16+
.catch(ignore => {})
17+
.then(this.loadMarkers);
1718

1819
$(document).on('bluemap-map-change', this.onBlueMapMapChange);
1920
}
@@ -34,9 +35,11 @@ export default class MarkerManager {
3435
}
3536

3637
loadMarkers = () => {
37-
this.markerData.markerSets.forEach(setData => {
38-
this.markerSets.push(new MarkerSet(this.blueMap, setData));
39-
});
38+
if (this.markerData && this.markerData.markerSets) {
39+
this.markerData.markerSets.forEach(setData => {
40+
this.markerSets.push(new MarkerSet(this.blueMap, setData));
41+
});
42+
}
4043
};
4144

4245
update(){

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
org.gradle.jvmargs=-Xmx3G
22
org.gradle.daemon=false
33

4-
coreVersion=0.6.0
4+
coreVersion=0.6.1
55

66
targetVersion=mc1.15

0 commit comments

Comments
 (0)