Fix name of deprecated BED packet

Might fix compatibility with 1.8
This commit is contained in:
Dan Mulloy 2019-12-17 19:42:31 -05:00
parent b1efed0c0c
commit f46bd56e8f
No known key found for this signature in database
GPG Key ID: 2B62F7DACFF133E8
1 changed files with 7 additions and 1 deletions

View File

@ -260,7 +260,13 @@ public class PacketType implements Serializable, Cloneable, Comparable<PacketTyp
* @deprecated Removed in 1.14
*/
@Deprecated
public static final PacketType USE_BED = new PacketType(PROTOCOL, SENDER, 0x33, 0x33, "UseBed");
public static final PacketType BED = new PacketType(PROTOCOL, SENDER, 0x33, 0x33, "Bed");
/**
* @deprecated Renamed to {@link #BED}
*/
@Deprecated
public static final PacketType USE_BED = BED.clone();
private final static Server INSTANCE = new Server();