Update Cloudburst/Protocol

This commit is contained in:
rtm516 2020-10-25 13:50:24 +00:00
parent efe9fc4a80
commit efdff4ee8e
No known key found for this signature in database
GPG key ID: 331715B8B007C67A
2 changed files with 2 additions and 2 deletions

View file

@ -85,7 +85,7 @@
<dependency> <dependency>
<groupId>com.github.CloudburstMC.Protocol</groupId> <groupId>com.github.CloudburstMC.Protocol</groupId>
<artifactId>bedrock-v408</artifactId> <artifactId>bedrock-v408</artifactId>
<version>250beb2a94</version> <version>02f46a8700</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>net.minecrell</groupId> <groupId>net.minecrell</groupId>

View file

@ -179,7 +179,7 @@ public class PacketHandler implements BedrockPacketHandler {
break; break;
case HAVE_ALL_PACKS: case HAVE_ALL_PACKS:
ResourcePackStackPacket stack = new ResourcePackStackPacket(); ResourcePackStackPacket stack = new ResourcePackStackPacket();
stack.setExperimental(false); stack.setExperimentsPreviouslyToggled(false);
stack.setForcedToAccept(false); stack.setForcedToAccept(false);
stack.setGameVersion("*"); stack.setGameVersion("*");
session.sendPacket(stack); session.sendPacket(stack);