3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-12-24 23:30:22 +01:00

Glowing text on signs is Bedrock 1.17.10. :(

Dieser Commit ist enthalten in:
Camotoy 2021-06-06 09:55:38 -04:00
Ursprung fc4f2b7890
Commit 0162257d30
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 7EEFB66FE798081F

Datei anzeigen

@ -96,6 +96,7 @@ public class SignBlockEntityTranslator extends BlockEntityTranslator {
@Override @Override
public void translateTag(NbtMapBuilder builder, CompoundTag tag, int blockState) { public void translateTag(NbtMapBuilder builder, CompoundTag tag, int blockState) {
//TODO Bedrock 1.17.10 glow text
StringBuilder signText = new StringBuilder(); StringBuilder signText = new StringBuilder();
for (int i = 0; i < 4; i++) { for (int i = 0; i < 4; i++) {
int currentLine = i + 1; int currentLine = i + 1;
@ -132,7 +133,7 @@ public class SignBlockEntityTranslator extends BlockEntityTranslator {
signText.append(getBedrockSignColor(color.getValue().toString())); signText.append(getBedrockSignColor(color.getValue().toString()));
} }
signText.append(finalSignLine.toString()); signText.append(finalSignLine);
signText.append("\n"); signText.append("\n");
} }