Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix potential error if BlueMapAPI is enabled already before BlueMapDeathMarkers is loading #1

Merged
merged 1 commit into from
Nov 25, 2023

Conversation

TBlueF
Copy link
Contributor

@TBlueF TBlueF commented Nov 25, 2023

This should fix an error if BlueMapAPI is enabled already before BlueMapDeathMarkers is loading ^^
(untested :p)

https://discord.com/channels/665868367416131594/863844716047106068/1177883561932623893

java.lang.NullPointerException: Cannot invoke "com.technicjelle.UpdateChecker.logUpdateMessage(java.util.logging.Logger)" because "this.updateChecker" is null
    at BlueMapDeathMarkers-1.2(1).jar//com.technicjelle.bluemapdeathmarkers.BlueMapDeathMarkers.lambda$new$0(BlueMapDeathMarkers.java:61)
    at BlueMap-3.18-5-paper.jar//de.bluecolored.bluemap.api.BlueMapAPI.registerInstance(BlueMapAPI.java:211)
    at BlueMap-3.18-5-paper.jar//de.bluecolored.bluemap.common.api.BlueMapAPIImpl.register(BlueMapAPIImpl.java:175)
    at BlueMap-3.18-5-paper.jar//de.bluecolored.bluemap.common.plugin.Plugin.load(Plugin.java:351)
    at BlueMap-3.18-5-paper.jar//de.bluecolored.bluemap.common.plugin.Plugin.load(Plugin.java:112)
    at BlueMap-3.18-5-paper.jar//de.bluecolored.bluemap.common.plugin.Plugin.reload(Plugin.java:465)
    at BlueMap-3.18-5-paper.jar//de.bluecolored.bluemap.common.plugin.commands.Commands.lambda$reloadCommand$5(Commands.java:398)
    at java.base/java.lang.Thread.run(Unknown Source)

@TechnicJelle TechnicJelle merged commit 0109443 into TechnicJelle:main Nov 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants