Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-15 12:30:06 +01:00
e4d10a6d67
Upstream has released updates that appears to apply and compile correctly. This update has not been tested by PaperMC and as with ANY update, please do your own testing Bukkit Changes: 122289ff Add FaceAttachable interface to handle Grindstone facing in common with Switches a6db750e SPIGOT-5647: ZombieVillager entity should have getVillagerType() CraftBukkit Changes:bbe3d58e
SPIGOT-5650: Lectern.setPage(int) causes a NullPointerException3075579f
Add FaceAttachable interface to handle Grindstone facing in common with Switches95bd4238
SPIGOT-5647: ZombieVillager entity should have getVillagerType()4d975ac3
SPIGOT-5617: setBlockData does not work when NotPlayEvent is called by redstone current
25 Zeilen
1.0 KiB
Diff
25 Zeilen
1.0 KiB
Diff
From 85a5ffd84b59580bcbdc8d4dd77e09c25c22527a Mon Sep 17 00:00:00 2001
|
|
From: Shane Freeder <theboyetronic@gmail.com>
|
|
Date: Fri, 18 Oct 2019 17:39:05 +0100
|
|
Subject: [PATCH] Increase custom payload channel message size
|
|
|
|
Doubles the custom payload size limit imposed by bukkit, also creates a system
|
|
property to allow customizing the size `paper.maxCustomChannelName`
|
|
|
|
diff --git a/src/main/java/org/bukkit/plugin/messaging/Messenger.java b/src/main/java/org/bukkit/plugin/messaging/Messenger.java
|
|
index ea9b525ff..682c77188 100644
|
|
--- a/src/main/java/org/bukkit/plugin/messaging/Messenger.java
|
|
+++ b/src/main/java/org/bukkit/plugin/messaging/Messenger.java
|
|
@@ -24,7 +24,7 @@ public interface Messenger {
|
|
/**
|
|
* Represents the largest size that a Plugin Channel may be.
|
|
*/
|
|
- public static final int MAX_CHANNEL_SIZE = 32;
|
|
+ public static final int MAX_CHANNEL_SIZE = Integer.getInteger("paper.maxCustomChannelName", 64); // Paper
|
|
|
|
/**
|
|
* Checks if the specified channel is a reserved name.
|
|
--
|
|
2.25.1
|
|
|