diff --git a/pom.xml b/pom.xml
index 4f9dd835..bdeab425 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,7 +5,7 @@
com.github.steveice10
mcprotocollib
- 20w17a-SNAPSHOT
+ 20w19a-SNAPSHOT
jar
MCProtocolLib
diff --git a/src/main/java/com/github/steveice10/mc/protocol/MinecraftConstants.java b/src/main/java/com/github/steveice10/mc/protocol/MinecraftConstants.java
index 483601bc..b6bb904e 100644
--- a/src/main/java/com/github/steveice10/mc/protocol/MinecraftConstants.java
+++ b/src/main/java/com/github/steveice10/mc/protocol/MinecraftConstants.java
@@ -2,8 +2,8 @@ package com.github.steveice10.mc.protocol;
public class MinecraftConstants {
// General Constants
- public static final String GAME_VERSION = "20w17a";
- public static final int PROTOCOL_VERSION = 713;
+ public static final String GAME_VERSION = "20w19a";
+ public static final int PROTOCOL_VERSION = 715;
// General Key Constants
public static final String PROFILE_KEY = "profile";
diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerRespawnPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerRespawnPacket.java
index eae3bcbc..8becfc77 100644
--- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerRespawnPacket.java
+++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerRespawnPacket.java
@@ -24,6 +24,7 @@ public class ServerRespawnPacket implements Packet {
private long hashedSeed;
private @NonNull GameMode gamemode;
private @NonNull WorldType worldType;
+ private boolean copyMetadata;
@Override
public void read(NetInput in) throws IOException {
@@ -31,6 +32,7 @@ public class ServerRespawnPacket implements Packet {
this.hashedSeed = in.readLong();
this.gamemode = MagicValues.key(GameMode.class, in.readUnsignedByte());
this.worldType = MagicValues.key(WorldType.class, in.readString().toLowerCase());
+ this.copyMetadata = in.readBoolean();
}
@Override
@@ -39,6 +41,7 @@ public class ServerRespawnPacket implements Packet {
out.writeLong(this.hashedSeed);
out.writeByte(MagicValues.value(Integer.class, this.gamemode));
out.writeString(MagicValues.value(String.class, this.worldType));
+ out.writeBoolean(this.copyMetadata);
}
@Override