Skip to content

Commit

Permalink
[Code] Utilisation du logger du plugin au lieu de celui de Bukkit (#17)
Browse files Browse the repository at this point in the history
Permet une meilleur tracabilité
  • Loading branch information
ri1ongithub authored Jul 4, 2024
2 parents d21ae37 + 75e9583 commit 232832c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/fr/communaywen/core/AywenCraftPlugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public final class AywenCraftPlugin extends JavaPlugin {

@Override
public void onEnable() {
Bukkit.getServer().getLogger().info("Hello le monde, ici le plugin AywenCraft !");
super.getLogger().info("Hello le monde, ici le plugin AywenCraft !");

motdChanger = new MOTDChanger();
motdChanger.startMOTDChanger(this);
Expand Down

0 comments on commit 232832c

Please sign in to comment.