Set Sign issue WE 6.1.2
LadyCailinBot opened this issue ยท 3 comments
WORLDEDIT-3449 - Reported by B1acksheep
I have found the following problem:
If I create a new sign, with the command "//set sign|Line1|Line2_Text|Line3" the sign shows {"text":""Line1""}{"text":Line2}{"text":""Line3""}.
The same happens if I use a "SignBlock" in my plugin.
Comment by wizjany
version numbers of worldedit + server
if you're using the API you are responsible for providing the correct data to the sign block.
Comment by B1acksheep
[21:05:55 INFO]: This server is running CraftBukkit version git-Spigot-db6de12-930a59c (MC: 1.8.8) (Implementing API version 1.8.8-R0.1-SNAPSHOT)
[21:05:59 INFO]: WorldEdit version 6.1.2;b3fbe8b
new SignBlock(BlockID.SIGN_POST, 4, new String[]{"Willkommen", "in deinem neuen", "Kreativbereich,", "UserXY"});
The code works with the previous versions.
Comment by wizjany
minecraft clients will crash if they are sent non- strict validated JSON for sign text, and the server doesn't validate. worldedit thus wraps plaintext in the correct json tags for signs. i was under the impression that this was written during 1.8, but possibly it was during 1.9 and there are some regression issues?