mirror of
https://github.com/PaperMC/Paper.git
synced 2025-07-26 09:42:06 -07:00
Wrap translatable
This commit is contained in:
@@ -196,7 +196,7 @@ public final class PaperAdventure {
|
|||||||
return asAdventure(component);
|
return asAdventure(component);
|
||||||
} catch (RuntimeException runtimeException) {
|
} catch (RuntimeException runtimeException) {
|
||||||
runtimeException.printStackTrace();
|
runtimeException.printStackTrace();
|
||||||
return Component.translatable("multiplayer.message_not_delivered", "Adventure roundtrip").color(NamedTextColor.RED);
|
return Component.translatable("multiplayer.message_not_delivered", Component.text("Adventure roundtrip")).color(NamedTextColor.RED);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user