Bump Bedrock protocol library to support v1.12.0

This commit is contained in:
RednedEpic 2019-07-11 15:53:44 -05:00
parent 96dbe40ba5
commit 6c760e1f18
2 changed files with 10 additions and 10 deletions

View file

@ -59,22 +59,22 @@
<version>1.18.4</version> <version>1.18.4</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<dependency>
<groupId>com.nukkitx.protocol</groupId>
<artifactId>bedrock-v361</artifactId>
<version>2.1.0</version>
<scope>compile</scope>
</dependency>
<dependency> <dependency>
<groupId>com.nukkitx.protocol</groupId> <groupId>com.nukkitx.protocol</groupId>
<artifactId>bedrock-v354</artifactId> <artifactId>bedrock-v354</artifactId>
<version>2.0.3</version> <version>2.1.0</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.nukkitx.protocol</groupId> <groupId>com.nukkitx.protocol</groupId>
<artifactId>bedrock-v340</artifactId> <artifactId>bedrock-v340</artifactId>
<version>2.0.3</version> <version>2.1.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.nukkitx.protocol</groupId>
<artifactId>bedrock-v332</artifactId>
<version>2.0.3</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<dependency> <dependency>

View file

@ -18,7 +18,7 @@ import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.dataformat.yaml.YAMLFactory; import com.fasterxml.jackson.dataformat.yaml.YAMLFactory;
import com.nukkitx.protocol.bedrock.BedrockPacketCodec; import com.nukkitx.protocol.bedrock.BedrockPacketCodec;
import com.nukkitx.protocol.bedrock.BedrockServer; import com.nukkitx.protocol.bedrock.BedrockServer;
import com.nukkitx.protocol.bedrock.v354.Bedrock_v354; import com.nukkitx.protocol.bedrock.v361.Bedrock_v361;
import lombok.Getter; import lombok.Getter;
import org.geysermc.api.ChatColor; import org.geysermc.api.ChatColor;
import org.geysermc.api.Connector; import org.geysermc.api.Connector;
@ -45,7 +45,7 @@ import java.util.concurrent.ScheduledExecutorService;
public class GeyserConnector implements Connector { public class GeyserConnector implements Connector {
public static final BedrockPacketCodec BEDROCK_PACKET_CODEC = Bedrock_v354.V354_CODEC; public static final BedrockPacketCodec BEDROCK_PACKET_CODEC = Bedrock_v361.V361_CODEC;
private static final String NAME = "Geyser"; private static final String NAME = "Geyser";
private static final String VERSION = "1.0-SNAPSHOT"; private static final String VERSION = "1.0-SNAPSHOT";