mirror of
https://github.com/PaperMC/Paper.git
synced 2025-04-12 16:30:54 +08:00
Update adventure to 4.19.0
The update only includes a new configuration for MiniMessage, specifically one to prevent it from emitting virtual components. As virtual components break the generated component tree, items quickly become unstackable with items generated before adventure 4.18. Plugin developers may construct their own mini message instance which will emit virtual components if they so choose.
This commit is contained in:
parent
9b1798d643
commit
8cbf656850
@ -11,7 +11,7 @@ java {
|
||||
|
||||
val annotationsVersion = "26.0.1"
|
||||
val bungeeCordChatVersion = "1.20-R0.2"
|
||||
val adventureVersion = "4.18.0"
|
||||
val adventureVersion = "4.19.0"
|
||||
val slf4jVersion = "2.0.9"
|
||||
val log4jVersion = "2.17.1"
|
||||
|
||||
|
@ -10,7 +10,7 @@ public class MiniMessageProviderImpl implements MiniMessage.Provider {
|
||||
|
||||
@Override
|
||||
public @NotNull MiniMessage miniMessage() {
|
||||
return MiniMessage.builder().build();
|
||||
return MiniMessage.builder().emitVirtuals(false).build();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
x
Reference in New Issue
Block a user