(1.3.2) Fix protocol V4 flush issue in EaglerXBungee
This commit is contained in:
parent
6757d63fa1
commit
6a0a90f4ac
Binary file not shown.
|
@ -64,7 +64,7 @@ import net.md_5.bungee.BungeeCord;
|
||||||
*/
|
*/
|
||||||
public class EaglerXBungee extends Plugin {
|
public class EaglerXBungee extends Plugin {
|
||||||
|
|
||||||
public static final String NATIVE_BUNGEECORD_BUILD = "1.21-R0.1-SNAPSHOT:acb85e3:1871";
|
public static final String NATIVE_BUNGEECORD_BUILD = "1.21-R0.1-SNAPSHOT:2593130:1878";
|
||||||
public static final String NATIVE_WATERFALL_BUILD = "1.21-R0.1-SNAPSHOT:de8345a:579";
|
public static final String NATIVE_WATERFALL_BUILD = "1.21-R0.1-SNAPSHOT:de8345a:579";
|
||||||
|
|
||||||
static {
|
static {
|
||||||
|
|
|
@ -234,8 +234,10 @@ public class GameProtocolMessageController {
|
||||||
pkt = sendQueueV4.remove(0);
|
pkt = sendQueueV4.remove(0);
|
||||||
owner.sendData(GamePluginMessageConstants.V4_CHANNEL, pkt);
|
owner.sendData(GamePluginMessageConstants.V4_CHANNEL, pkt);
|
||||||
}else {
|
}else {
|
||||||
int i, j, sendCount = 0, totalLen = 0;
|
int i, j, sendCount, totalLen;
|
||||||
while(!sendQueueV4.isEmpty()) {
|
while(!sendQueueV4.isEmpty()) {
|
||||||
|
sendCount = 0;
|
||||||
|
totalLen = 0;
|
||||||
do {
|
do {
|
||||||
i = sendQueueV4.get(sendCount++).length;
|
i = sendQueueV4.get(sendCount++).length;
|
||||||
totalLen += GamePacketOutputBuffer.getVarIntSize(i) + i;
|
totalLen += GamePacketOutputBuffer.getVarIntSize(i) + i;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
name: EaglercraftXBungee
|
name: EaglercraftXBungee
|
||||||
main: net.lax1dude.eaglercraft.v1_8.plugin.gateway_bungeecord.EaglerXBungee
|
main: net.lax1dude.eaglercraft.v1_8.plugin.gateway_bungeecord.EaglerXBungee
|
||||||
version: 1.3.1
|
version: 1.3.2
|
||||||
description: Plugin to allow EaglercraftX 1.8 players to join your network, or allow EaglercraftX 1.8 players to use your network as a proxy to join other networks
|
description: Plugin to allow EaglercraftX 1.8 players to join your network, or allow EaglercraftX 1.8 players to use your network as a proxy to join other networks
|
||||||
author: lax1dude
|
author: lax1dude
|
|
@ -1 +1 @@
|
||||||
1.3.1
|
1.3.2
|
Loading…
Reference in New Issue
Block a user