mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-30 16:19:03 +01:00
parent
537bd9de29
commit
7f734a18b7
1 changed files with 2 additions and 1 deletions
|
@ -48,7 +48,8 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||
// CraftBukkit end
|
||||
if (entityhuman_enumbedresult != null) {
|
||||
- entityhuman.a(entityhuman_enumbedresult.a(), true);
|
||||
+ entityhuman.a(PaperAdventure.asVanilla(event.getMessage()), true); // Paper
|
||||
+ final net.kyori.adventure.text.Component message = event.getMessage(); // Paper
|
||||
+ if(message != null) entityhuman.a(PaperAdventure.asVanilla(message), true); // Paper
|
||||
}
|
||||
+ } // Paper
|
||||
|
||||
|
|
Loading…
Reference in a new issue