Skip to content

Commit a8f8e83

Browse files
SpigotRCEpull[bot]
authored andcommitted
feat: property support for max clientside channels (PaperMC#1557)
1 parent 3d71d35 commit a8f8e83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

proxy/src/main/java/com/velocitypowered/proxy/connection/client/ConnectedPlayer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@
146146
public class ConnectedPlayer implements MinecraftConnectionAssociation, Player, KeyIdentifiable,
147147
VelocityInboundConnection {
148148

149-
public static final int MAX_CLIENTSIDE_PLUGIN_CHANNELS = 1024;
149+
public static final int MAX_CLIENTSIDE_PLUGIN_CHANNELS = Integer.getInteger("velocity.max-clientside-plugin-channels", 1024);
150150
private static final PlainTextComponentSerializer PASS_THRU_TRANSLATE =
151151
PlainTextComponentSerializer.builder().flattener(TranslatableMapper.FLATTENER).build();
152152
static final PermissionProvider DEFAULT_PERMISSIONS = s -> PermissionFunction.ALWAYS_UNDEFINED;

0 commit comments

Comments
 (0)