Closed SamB440 closed 4 months ago
SpongeVanilla
1.20.6-11.0.0-RC1607
Windows
21
SpongeTestPlugin v1.0.0
The server will crash when saving the game when an objective is registered.
Use the following code in a plugin:
final Scoreboard scoreboard = Sponge.server().serverScoreboard().orElseThrow(); Objective objective = Objective.builder().name("sponge-test").criterion(Criteria.DUMMY).displayName(Component.text("Tickets Left", NamedTextColor.YELLOW, TextDecoration.BOLD)).build(); scoreboard.addObjective(objective); scoreboard.updateDisplaySlot(objective, DisplaySlots.SIDEBAR);
Then run /save-all.
/save-all
https://pastes.dev/duEalnnKe4
Fixes in 63200e2.
Affected Product(s)
SpongeVanilla
Version
1.20.6-11.0.0-RC1607
Operating System
Windows
Java Version
21
Plugins/Mods
Describe the bug
The server will crash when saving the game when an objective is registered.
Use the following code in a plugin:
Then run
/save-all
.Link to logs
https://pastes.dev/duEalnnKe4