mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-24 17:39:52 -05:00
Locally a field
Former-commit-id: 2da4a8d5d89068b34f5751ab9381442c25eb029d
This commit is contained in:
1 parent
db049dcf4a
commit
983d291570
1 file changed
+4
-5
@@ -64,9 +64,8 @@ public class QuickShopLogger extends PluginLogger {
|
||||
|
||||
//private FileHandler debugLogFileHandler = null;
|
||||
private boolean AnsiSupported = true;
|
||||
private String pluginName;
|
||||
|
||||
@SneakyThrows
|
||||
@SneakyThrows
|
||||
public QuickShopLogger(Plugin plugin) {
|
||||
super(plugin);
|
||||
|
||||
@@ -81,9 +80,9 @@ public class QuickShopLogger extends PluginLogger {
|
||||
|
||||
// Logger re-naming
|
||||
String prefix = plugin.getDescription().getPrefix();
|
||||
pluginName = prefix != null ?
|
||||
"[" + ChatColor.YELLOW + prefix + ChatColor.RESET + "] ":
|
||||
"[" + ChatColor.YELLOW + plugin.getDescription().getName() + ChatColor.RESET + "] ";
|
||||
String pluginName = prefix != null ?
|
||||
"[" + ChatColor.YELLOW + prefix + ChatColor.RESET + "] " :
|
||||
"[" + ChatColor.YELLOW + plugin.getDescription().getName() + ChatColor.RESET + "] ";
|
||||
pluginName = AnsiSupported ? applyStyles(pluginName) : pluginName;
|
||||
|
||||
// Apply plugin name for BukkitLogger
|
||||
|
||||
Reference in new issue
Block a user