mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-26 19:07:40 +01:00
Set true custom payload channel size limit
This fixes compatibility with some mods that are sending very long channel names. Also gives developers the ability to send longer channel names.
This commit is contained in:
parent
9fc26a2efb
commit
2cee31307e
@ -24,7 +24,7 @@ public interface Messenger {
|
||||
/**
|
||||
* Represents the largest size that a Plugin Channel may be.
|
||||
*/
|
||||
public static final int MAX_CHANNEL_SIZE = 64;
|
||||
public static final int MAX_CHANNEL_SIZE = Integer.getInteger("paper.maxCustomChannelName", java.lang.Short.MAX_VALUE); // Paper - set true max channel size
|
||||
|
||||
/**
|
||||
* Checks if the specified channel is a reserved name.
|
||||
|
Loading…
Reference in New Issue
Block a user