mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-11-23 02:25:19 +01:00
process translate on command block entity
This commit is contained in:
parent
aca764c288
commit
bef3e3d18f
@ -14,6 +14,10 @@ public class CommandBlockHandler implements BlockEntityProvider.BlockEntityHandl
|
||||
if (name instanceof StringTag) {
|
||||
((StringTag) name).setValue(ChatRewriter.legacyTextToJson(((StringTag) name).getValue()));
|
||||
}
|
||||
Tag out = tag.get("LastOutput");
|
||||
if (out instanceof StringTag) {
|
||||
((StringTag) out).setValue(ChatRewriter.processTranslate(((StringTag) out).getValue()));
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user