Skip to content

Commit 21250c4

Browse files
authored
Minecraft 1.21.4 support (#104)
1 parent 2f1abc8 commit 21250c4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main/java/net/elytrium/limbofilter/protocol/data/ItemFrame.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,10 @@ public static int getID(ProtocolVersion protocolVersion) {
4747
return 57;
4848
} else if (protocolVersion.compareTo(ProtocolVersion.MINECRAFT_1_21) <= 0) {
4949
return 60;
50-
} else {
50+
} else if (protocolVersion.compareTo(ProtocolVersion.MINECRAFT_1_21_2) <= 0) {
5151
return 71;
52+
} else {
53+
return 70;
5254
}
5355
}
5456

0 commit comments

Comments
 (0)