It works, don't touch it

This commit is contained in:
IzzelAliz 2020-11-21 17:28:13 +08:00
parent 9d06987a13
commit 4e1b6d4f86
2 changed files with 7 additions and 2 deletions

View File

@ -6,7 +6,7 @@ A Bukkit server implementation utilizing Mixin.
| Minecraft | Forge | Status | Build |
| :----: | :----: | :---: | :---: |
| 1.16.x | 34.1.25 | ACTIVE | [![1.16 Status](https://img.shields.io/appveyor/build/IzzelAliz/arclight-16?style=flat-square)](https://ci.appveyor.com/project/IzzelAliz/arclight-16) |
| 1.16.x | 35.1.0 | ACTIVE | [![1.16 Status](https://img.shields.io/appveyor/build/IzzelAliz/arclight-16?style=flat-square)](https://ci.appveyor.com/project/IzzelAliz/arclight-16) |
| 1.15.x | 31.2.45 | ACTIVE | [![1.15 Status](https://img.shields.io/appveyor/build/IzzelAliz/arclight-15?style=flat-square)](https://ci.appveyor.com/project/IzzelAliz/arclight-15) |
| 1.14.x | 28.2.0 | [LEGACY](https://github.com/IzzelAliz/Arclight/releases/tag/1.0.6) | [![1.14 Status](https://img.shields.io/appveyor/build/IzzelAliz/arclight?style=flat-square)](https://ci.appveyor.com/project/IzzelAliz/arclight) |

View File

@ -17,7 +17,12 @@ public class ArclightI18nLogger extends ExtendedLoggerWrapper {
}
public static Logger getLogger(String name) {
for (int i = 0; i < 10; i++) {
try {
return new ArclightI18nLogger((ExtendedLogger) LogManager.getLogger(name));
} catch (Throwable ignored) {}
}
throw new IllegalStateException("wtf");
}
@Override