mirror of
https://github.com/PaperMC/Paper.git
synced 2025-05-19 05:30:23 -07:00
Bump to adventure 4.20.0 (#12391)
* 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. * Bump to adventure 4.20.0
This commit is contained in:
parent
9b1798d643
commit
0cf731589a
@ -11,7 +11,7 @@ java {
|
|||||||
|
|
||||||
val annotationsVersion = "26.0.1"
|
val annotationsVersion = "26.0.1"
|
||||||
val bungeeCordChatVersion = "1.20-R0.2"
|
val bungeeCordChatVersion = "1.20-R0.2"
|
||||||
val adventureVersion = "4.18.0"
|
val adventureVersion = "4.20.0"
|
||||||
val slf4jVersion = "2.0.9"
|
val slf4jVersion = "2.0.9"
|
||||||
val log4jVersion = "2.17.1"
|
val log4jVersion = "2.17.1"
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@ public class MiniMessageProviderImpl implements MiniMessage.Provider {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public @NotNull MiniMessage miniMessage() {
|
public @NotNull MiniMessage miniMessage() {
|
||||||
return MiniMessage.builder().build();
|
return MiniMessage.builder().emitVirtuals(false).build();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
x
Reference in New Issue
Block a user