Minecraft 24w07a support

This commit is contained in:
md_5
2024-02-27 21:36:16 +11:00
parent 3e9a7e45c4
commit 7606d4437b
4 changed files with 24 additions and 6 deletions

View File

@@ -243,7 +243,7 @@ public class ServerConnector extends PacketHandler
user.getForgeClientHandler().setHandshakeComplete();
}
if ( user.getServer() == null || !( login.getDimension() instanceof Integer ) )
if ( user.getServer() == null || user.getPendingConnection().getVersion() >= ProtocolConstants.MINECRAFT_1_16 )
{
// Once again, first connection
user.setClientEntityId( login.getEntityId() );