Fix Bukkit log prefix for custom prefixes (#237)

This commit is contained in:
Jake Potrebic
2020-09-24 19:39:09 -07:00
committed by GitHub
parent e164852783
commit fd25a31c63
3 changed files with 2 additions and 1 deletions
Regular → Executable
+1
View File
@@ -11,3 +11,4 @@ If you open a PR and are not already in this file, please feel free to add yours
* [***Williambraecky***](https://github.com/aikar/commands/commits?author=Williambraecky) - BungeeCord Support
* [***dumptruckman***](https://github.com/aikar/commands/commits?author=dumptruckman) - JDA Support
* [***willies952002***](https://github.com/aikar/commands/commits?author=willies952002)
* [***Machine_Maker***](https://github.com/aikar/commands/commits?author=Machine-Maker)
+1 -1
View File
@@ -92,7 +92,7 @@ public class BukkitCommandManager extends CommandManager<
@SuppressWarnings("JavaReflectionMemberAccess")
public BukkitCommandManager(Plugin plugin) {
this.plugin = plugin;
this.logger = Logger.getLogger(this.plugin.getName());
this.logger = Logger.getLogger(this.plugin.getDescription().getPrefix());
this.timingManager = TimingManager.of(plugin);
this.commandTiming = this.timingManager.of("Commands");
this.commandMap = hookCommandMap();