SPIGOT-7829: Increase maximum outgoing plugin message size to match Vanilla intention

This commit is contained in:
md_5 2024-07-16 19:59:14 +10:00
parent 5cd1c8cb40
commit 3a3bea5205
No known key found for this signature in database
GPG key ID: E8E901AC7C617C11

View file

@ -19,7 +19,7 @@ public interface Messenger {
/**
* Represents the largest size that an individual Plugin Message may be.
*/
public static final int MAX_MESSAGE_SIZE = 32766;
public static final int MAX_MESSAGE_SIZE = 1048576;
/**
* Represents the largest size that a Plugin Channel may be.