[SPIGOT-3282] The "obfuscated" tag on sign .JSON text fails Created: 30/May/17 Updated: 31/May/17 Resolved: 31/May/17 |
|
Status: | Resolved |
Project: | Spigot |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Minor |
Reporter: | William (Andy) Smith | Assignee: | Unassigned |
Resolution: | Cannot Reproduce | Votes: | 0 |
Labels: | JSON, sign | ||
Environment: |
Hosted Linux service provider/ Windows 10 client |
Description |
Create a command block with the following text: git-Spigot-ac83d69-e13d119 (MC: 1.12-pre6) give @p minecraft:sign 1 0 {BlockEntityTag:{Text1:"{\"text\":\"OH NO!\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"minecraft:tp @p 100 49 0\"},\"bold\":true,\"color\":\"dark_red\"}",Text2:"[\"\",{\"text\":\"The \"},{\"text\":\"flip\",\"obfuscated\":true,\"color\":\"aqua\"},{\"text\":\" broke.\"}]",Text3:"{\"text\":\"Right-click\"}",Text4:"{\"text\":\"this sign!\"}"},display:{Name:"End Spawn"}} Add a button and get the sign. In Vanilla, this works as expected and the second line has the "magic" text obfuscated as expectd. Spigot 1.12Pre6, the sign appears as follows: OH NO! This bug may be related to https://bugs.mojang.com/browse/MC-41410 which appears to be related, but appears to work correctly in the current Pre6 vanilla. Note, the example "/tellraw @p {"text":"Test☂","obfuscated":true}" works as expected for both Vanilla and Spigot current pre-release 6. |
Comments |
Comment by md_5 [ 31/May/17 ] |
Cannot reproduce. Works fine in Vanilla and Spigot. |
Comment by William (Andy) Smith [ 31/May/17 ] |
Yes, on both my Spigot server and on the Vanilla test single-player. I have to be /op to do both the /tellraw and the /give command to get the sign, and I'm using a command block to create the sign. The "obfusticated" tag is the only one I've had trouble with so far. And even then, the /minecraft:tp command works just fine in all cases. |
Comment by pokechu22 [ 31/May/17 ] |
Are you OP on the server you are testing this on? |