Skip to content

Commit f46bd56

Browse files
committed
Fix name of deprecated BED packet
Might fix compatibility with 1.8
1 parent b1efed0 commit f46bd56

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/main/java/com/comphenix/protocol/PacketType.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,13 @@ public static class Server extends PacketTypeEnum {
260260
* @deprecated Removed in 1.14
261261
*/
262262
@Deprecated
263-
public static final PacketType USE_BED = new PacketType(PROTOCOL, SENDER, 0x33, 0x33, "UseBed");
263+
public static final PacketType BED = new PacketType(PROTOCOL, SENDER, 0x33, 0x33, "Bed");
264+
265+
/**
266+
* @deprecated Renamed to {@link #BED}
267+
*/
268+
@Deprecated
269+
public static final PacketType USE_BED = BED.clone();
264270

265271
private final static Server INSTANCE = new Server();
266272

0 commit comments

Comments
 (0)