Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-03 01:50:07 +01:00
Use INSTANCE instead of legacy() due to shading issues
Dieser Commit ist enthalten in:
Ursprung
9241e2d018
Commit
dd4d405b36
@ -40,7 +40,7 @@ public class Caption {
|
||||
private static Component color(TextComponent text) {
|
||||
String content = text.content();
|
||||
if (content.indexOf('&') != -1) {
|
||||
TextComponent legacy = LegacyComponentSerializer.legacy().deserialize(content, '&');
|
||||
TextComponent legacy = LegacyComponentSerializer.INSTANCE.deserialize(content, '&');
|
||||
legacy = (TextComponent) legacy.style(text.style());
|
||||
if (!text.children().isEmpty()) {
|
||||
text = TextComponent.builder().append(legacy).append(text.children()).build();
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren