diff --git a/core/src/main/java/com/seibel/distanthorizons/core/world/DhClientServerWorld.java b/core/src/main/java/com/seibel/distanthorizons/core/world/DhClientServerWorld.java index c2fc59a00..6b9c02a31 100644 --- a/core/src/main/java/com/seibel/distanthorizons/core/world/DhClientServerWorld.java +++ b/core/src/main/java/com/seibel/distanthorizons/core/world/DhClientServerWorld.java @@ -98,9 +98,13 @@ public class DhClientServerWorld extends AbstractDhServerWorld { LOGGER.fatal("Failed to load server level, error: ["+e.getMessage()+"].", e); + String r = MinecraftTextFormat.RED; + String y = MinecraftTextFormat.YELLOW; + String cf = MinecraftTextFormat.CLEAR_FORMATTING; + ClientApi.INSTANCE.showChatMessageNextFrame( - MinecraftTextFormat.RED + "Distant Horizons: Server level loading failed." + MinecraftTextFormat.CLEAR_FORMATTING + "\n" + - "Unable to load level ["+serverLevelWrapper.getDhIdentifier()+"], LODs may not appear. See log for more information."); + r + "Distant Horizons: Server level loading failed." + cf + "\n" + + "Unable to load level ["+y+serverLevelWrapper.getDhIdentifier()+cf+"], LODs may not appear. See log for more information."); return null; }