Fix filtered text not being applied on sign update

Fixes #7266
This commit is contained in:
Nassim Jahnke
2022-01-03 10:17:27 +01:00
parent 30e83fff8a
commit 13786438fc
2 changed files with 2 additions and 2 deletions

View File

@@ -2073,7 +2073,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
continue; // The line contents are still the same, skip.
}
- sign.setMessage(i, CraftChatMessage.fromString(line)[0]);
+ sign.messages[i] = io.papermc.paper.adventure.PaperAdventure.asVanilla(component);
+ sign.setMessage(i, io.papermc.paper.adventure.PaperAdventure.asVanilla(component));
}
+ // Paper end
}