Compare commits

..

1 commit

Author SHA1 Message Date
65b8d79ada
Fix engine initialization crash
All checks were successful
push-build-apidoc / build (push) Successful in 1m4s
push-build-apidoc / generate-javadoc (push) Successful in 1m5s
2024-11-10 14:23:33 +01:00
2 changed files with 2 additions and 2 deletions

View file

@ -21,7 +21,7 @@
versioningCodename=Sugarcane
versioningVersion=1
versioningType=release
versioningTyperelease=2
versioningTyperelease=3
versioningFork=
# Java

View file

@ -40,7 +40,7 @@ public final class BukkitLoggingAdapter implements LoggingAdapter {
@Override
public void print(@NotNull LogLevel level, @NotNull StackTraceElement issuer, @NotNull String message, @NotNull String format) {
// Remove any tags
if (EngineConfiguration.getInstance().getLogFeatures().contains("formatting"))
if (EngineConfiguration.getInstance() != null && EngineConfiguration.getInstance().getLogFeatures().contains("formatting"))
format = new EmptyShortcodeParser(format, true).getClean();
switch (level) {