Skip to content

Commit 20dbb6e

Browse files
chore: update dependency net.minestom:minestom to v2025.12.20-1.21.11 (#1826)
1 parent 7a401d5 commit 20dbb6e

3 files changed

Lines changed: 2 additions & 21 deletions

File tree

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ sponge = "9.0.0"
6161
velocity = "3.4.0-SNAPSHOT"
6262
waterdogpe = "1.2.4"
6363
nukkitX = "1.0-SNAPSHOT"
64-
minestom = "2025.10.31-1.21.10"
64+
minestom = "2025.12.20-1.21.11"
6565
minestomExtensions = "1.2.0"
6666
spigot = "1.8.8-R0.1-SNAPSHOT"
6767
bungeecord = "1.21-R0.5-SNAPSHOT"

modules/bridge/impl/src/main/java/eu/cloudnetservice/modules/bridge/impl/platform/minestom/MinestomBridgeExtension.java

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,7 @@
2525
import jakarta.inject.Inject;
2626
import jakarta.inject.Singleton;
2727
import lombok.NonNull;
28-
import net.kyori.adventure.text.logger.slf4j.ComponentLogger;
29-
import net.minestom.server.extras.MojangAuth;
30-
import net.minestom.server.extras.bungee.BungeeCordProxy;
31-
import net.minestom.server.extras.velocity.VelocityProxy;
3228
import net.minestom.server.timer.SchedulerManager;
33-
import org.slf4j.Logger;
3429

3530
@Singleton
3631
@PlatformPlugin(
@@ -46,22 +41,19 @@
4641
repository = @Repository(id = "Central", url = "https://repo1.maven.org/maven2/")))
4742
public final class MinestomBridgeExtension implements PlatformEntrypoint {
4843

49-
private final Logger logger;
5044
private final ModuleHelper moduleHelper;
5145
private final ServiceRegistry serviceRegistry;
5246
private final SchedulerManager schedulerManager;
5347
private final MinestomBridgeManagement bridgeManagement;
5448

5549
@Inject
5650
public MinestomBridgeExtension(
57-
@NonNull ComponentLogger logger,
5851
@NonNull ModuleHelper moduleHelper,
5952
@NonNull ServiceRegistry serviceRegistry,
6053
@NonNull SchedulerManager schedulerManager,
6154
@NonNull MinestomBridgeManagement bridgeManagement,
6255
@NonNull MinestomPlayerManagementListener playerListener
6356
) {
64-
this.logger = logger;
6557
this.moduleHelper = moduleHelper;
6658
this.serviceRegistry = serviceRegistry;
6759
this.schedulerManager = schedulerManager;
@@ -74,17 +66,6 @@ public MinestomBridgeExtension(
7466
public void onLoad() {
7567
this.bridgeManagement.registerServices(this.serviceRegistry);
7668
this.schedulerManager.scheduleNextTick(this.bridgeManagement::postInit);
77-
78-
// force initialize the bungeecord proxy forwarding
79-
if (!VelocityProxy.isEnabled()) {
80-
BungeeCordProxy.enable();
81-
}
82-
83-
// using bungeecord and mojang auth will not work, we can't do anything about it. Just send a warning
84-
if (!VelocityProxy.isEnabled() && MojangAuth.isEnabled()) {
85-
this.logger.warn(
86-
"Be aware that using BungeeCord player info forwarding in combination with Mojang authentication will not work!");
87-
}
8869
}
8970

9071
@Override

modules/signs/impl/src/main/java/eu/cloudnetservice/modules/signs/impl/platform/minestom/MinestomPlatformSign.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public void updateSign(@NonNull SignLayout layout) {
106106
textCompound.put("color", serializedColor);
107107

108108
// set the sign lines - they are provided as legacy text components and need to be converted to JSON
109-
var linesCompound = ListBinaryTag.builder();
109+
var linesCompound = ListBinaryTag.heterogeneousListBinaryTag();
110110
this.changeSignLines(layout, (_, line) -> linesCompound.add(line));
111111
textCompound.put("messages", linesCompound.build());
112112

0 commit comments

Comments
 (0)