Skip to content

Commit fd46152

Browse files
committed
Add 1.21.3 as a supported version
1 parent aa5c4ea commit fd46152

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

commandapi-platforms/commandapi-bukkit/commandapi-bukkit-nms/commandapi-bukkit-1.21.2/src/main/java/dev/jorel/commandapi/nms/NMS_1_21_R2.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -201,9 +201,9 @@
201201

202202
// Mojang-Mapped reflection
203203
/**
204-
* NMS implementation for Minecraft 1.21.2
204+
* NMS implementation for Minecraft 1.21.2 and 1.21.3
205205
*/
206-
@NMSMeta(compatibleWith = { "1.21.2" })
206+
@NMSMeta(compatibleWith = { "1.21.2", "1.21.3" })
207207
@RequireField(in = SimpleHelpMap.class, name = "helpTopics", ofType = Map.class)
208208
@RequireField(in = EntitySelector.class, name = "usesSelector", ofType = boolean.class)
209209
// @RequireField(in = ItemInput.class, name = "tag", ofType = CompoundTag.class)
@@ -325,7 +325,7 @@ public final Map<String, HelpTopic> getHelpMap() {
325325

326326
@Override
327327
public String[] compatibleVersions() {
328-
return new String[] { "1.21.2" };
328+
return new String[] { "1.21.2", "1.21.3" };
329329
};
330330

331331
@Differs(from = "1.20.6", by = "ItemInput constructor uses a data components patch, instead of a data components map")

commandapi-platforms/commandapi-bukkit/commandapi-bukkit-vh/src/main/java/dev/jorel/commandapi/CommandAPIVersionHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ static LoadContext getPlatform() {
7272
case "1.20.3", "1.20.4" -> new NMS_1_20_R3();
7373
case "1.20.5", "1.20.6" -> new NMS_1_20_R4();
7474
case "1.21", "1.21.1" -> new NMS_1_21_R1();
75-
case "1.21.2" -> new NMS_1_21_R2();
75+
case "1.21.2", "1.21.3" -> new NMS_1_21_R2();
7676
default -> null;
7777
};
7878
if (platform != null) {

0 commit comments

Comments
 (0)