mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-11-16 07:35:38 +01:00
Ensure LOGGER is not equal to plugin logger before setting parent (#1570)
This commit is contained in:
parent
13ccabecf2
commit
2c4ff35796
@ -155,7 +155,9 @@ public class Essentials extends JavaPlugin implements net.ess3.api.IEssentials {
|
||||
@Override
|
||||
public void onEnable() {
|
||||
try {
|
||||
LOGGER.setParent(this.getLogger());
|
||||
if (LOGGER != this.getLogger()) {
|
||||
LOGGER.setParent(this.getLogger());
|
||||
}
|
||||
execTimer = new ExecuteTimer();
|
||||
execTimer.start();
|
||||
i18n = new I18n(this);
|
||||
|
Loading…
Reference in New Issue
Block a user