Skip to content
This repository was archived by the owner on Jun 27, 2022. It is now read-only.

Update upstream#12

Open
LeStegii wants to merge 65 commits into
LeStegii:masterfrom
HexagonMC:master
Open

Update upstream#12
LeStegii wants to merge 65 commits into
LeStegii:masterfrom
HexagonMC:master

Conversation

@LeStegii

@LeStegii LeStegii commented Dec 1, 2021

Copy link
Copy Markdown
Owner

No description provided.

adiantek and others added 30 commits July 11, 2021 09:06
.sourceAddress() is null when send-proxy-v2 & check option is used
…sages

20 chars is the vanilla limit for all clients below 1.13. We should use this value.
…leteResponse packet

No need for the second if in the read and write method use a else instead
Readd changes from #157 and #261
Changed packet constructors type from Array to Map to allow negative packet ids (can occur in CoFH mods for example)
Both translations are not used in BungeeCord or any modules.
Accessible via the net.md_5.bungee.protocol.snapshot JVM property.
# Conflicts:
#	.github/workflows/maven.yml
#	protocol/src/main/java/net/md_5/bungee/protocol/packet/PluginMessage.java
#	proxy/src/main/java/net/md_5/bungee/ServerConnector.java
#	proxy/src/main/java/net/md_5/bungee/connection/DownstreamBridge.java
md-5 and others added 30 commits December 18, 2021 11:36
DecoderExceptions that are not a CorruptedFrameException and dont have BadPacketException or OverflowPacketException as cause are not printed.
I also removed the ID message in BadPacketException because bad packet does not mean it has a invalid id the protocol version can also be not valid or the packet was not read to the end and more details are in the message of the exception
These attribute keys are not used so we can remove them
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.