Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-11-08 17:20:24 +01:00
process translate on command block entity
Dieser Commit ist enthalten in:
Ursprung
aca764c288
Commit
bef3e3d18f
@ -14,6 +14,10 @@ public class CommandBlockHandler implements BlockEntityProvider.BlockEntityHandl
|
|||||||
if (name instanceof StringTag) {
|
if (name instanceof StringTag) {
|
||||||
((StringTag) name).setValue(ChatRewriter.legacyTextToJson(((StringTag) name).getValue()));
|
((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;
|
return -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren