mirror of
https://github.com/ViaVersion/ViaLegacy.git
synced 2024-11-22 11:55:16 +01:00
Books can have color codes
This commit is contained in:
parent
f9f02c4729
commit
1b8d46746c
@ -133,7 +133,7 @@ public class ItemRewriter extends LegacyItemRewriter<ClientboundPackets1_7_2, Se
|
||||
|
||||
for (int i = 0; i < pages.size(); i++) {
|
||||
final String text = pages.get(i).getValue();
|
||||
pages.set(i, new StringTag(TextComponentSerializer.V1_8.deserialize(text).asUnformattedString()));
|
||||
pages.set(i, new StringTag(TextComponentSerializer.V1_8.deserialize(text).asLegacyFormatString()));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user