mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Remove Protocol v409 support (#1300)
* Remove Protocol v409 support Protocol has dropped support for this version. * Fix movement * Use a static commit for Protocol
This commit is contained in:
parent
6638c53029
commit
f9c1d3f218
3 changed files with 4 additions and 6 deletions
|
@ -31,9 +31,9 @@
|
||||||
<scope>compile</scope>
|
<scope>compile</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.nukkitx.protocol</groupId>
|
<groupId>com.github.CloudburstMC.Protocol</groupId>
|
||||||
<artifactId>bedrock-v409</artifactId>
|
<artifactId>bedrock-v408</artifactId>
|
||||||
<version>2.6.0-SNAPSHOT</version>
|
<version>250beb2a94</version>
|
||||||
<scope>compile</scope>
|
<scope>compile</scope>
|
||||||
<exclusions>
|
<exclusions>
|
||||||
<exclusion>
|
<exclusion>
|
||||||
|
|
|
@ -28,7 +28,6 @@ package org.geysermc.connector.network;
|
||||||
import com.nukkitx.protocol.bedrock.BedrockPacketCodec;
|
import com.nukkitx.protocol.bedrock.BedrockPacketCodec;
|
||||||
import com.nukkitx.protocol.bedrock.v407.Bedrock_v407;
|
import com.nukkitx.protocol.bedrock.v407.Bedrock_v407;
|
||||||
import com.nukkitx.protocol.bedrock.v408.Bedrock_v408;
|
import com.nukkitx.protocol.bedrock.v408.Bedrock_v408;
|
||||||
import com.nukkitx.protocol.bedrock.v409.Bedrock_v409;
|
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
@ -50,7 +49,6 @@ public class BedrockProtocol {
|
||||||
static {
|
static {
|
||||||
SUPPORTED_BEDROCK_CODECS.add(Bedrock_v407.V407_CODEC);
|
SUPPORTED_BEDROCK_CODECS.add(Bedrock_v407.V407_CODEC);
|
||||||
SUPPORTED_BEDROCK_CODECS.add(DEFAULT_BEDROCK_CODEC);
|
SUPPORTED_BEDROCK_CODECS.add(DEFAULT_BEDROCK_CODEC);
|
||||||
SUPPORTED_BEDROCK_CODECS.add(Bedrock_v409.V409_CODEC);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -613,7 +613,7 @@ public class GeyserSession implements CommandSender {
|
||||||
startGamePacket.setBlockPalette(BlockTranslator.BLOCKS);
|
startGamePacket.setBlockPalette(BlockTranslator.BLOCKS);
|
||||||
startGamePacket.setItemEntries(ItemRegistry.ITEMS);
|
startGamePacket.setItemEntries(ItemRegistry.ITEMS);
|
||||||
startGamePacket.setVanillaVersion("*");
|
startGamePacket.setVanillaVersion("*");
|
||||||
// startGamePacket.setMovementServerAuthoritative(true);
|
startGamePacket.setAuthoritativeMovementMode(AuthoritativeMovementMode.CLIENT);
|
||||||
upstream.sendPacket(startGamePacket);
|
upstream.sendPacket(startGamePacket);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue