Skip to content

Commit

Permalink
Use new logger
Browse files Browse the repository at this point in the history
  • Loading branch information
OliverSchlueter committed Sep 22, 2024
1 parent 58db906 commit 8c989ac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/de/oliver/fancyholograms/FancyHolograms.java
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public void onLoad() {
List<String> supportedVersions = new ArrayList<>(Arrays.asList(SUPPORTED_VERSIONS));
supportedVersions.addAll(ServerVersion.getSupportedVersions());

getLogger().warning("""
LOGGER.warn("""
--------------------------------------------------
Unsupported minecraft server version.
Please update the server to one of (%s).
Expand All @@ -115,7 +115,7 @@ public void onEnable() {
FancyLib.setPlugin(this, getFile());

if (!ServerSoftware.isPaper()) {
getLogger().warning("""
LOGGER.warn("""
--------------------------------------------------
It is recommended to use Paper as server software.
Because you are not using paper, the plugin
Expand Down Expand Up @@ -278,7 +278,7 @@ private void checkForNewerVersion() {
return; // could not get the newest version or already on latest
}

getLogger().warning("""
LOGGER.warn("""
-------------------------------------------------------
You are not using the latest version of the FancyHolograms plugin.
Expand Down

0 comments on commit 8c989ac

Please sign in to comment.