Skip to content

Commit

Permalink
Fix incorrect version detection for 1.21.4
Browse files Browse the repository at this point in the history
  • Loading branch information
SirBlobman committed Feb 14, 2025
1 parent aaac443 commit 432a2b5
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Unsupported versions are planned for removal at a future date.
| 1_18_R2 | 1.18.2 | :x: |
| 1_19_R3 | 1.19.4 | :white_check_mark: |
| 1_20_R4 | 1.20.6 | :white_check_mark: |
| 1_21_R2 | 1.21.4 | :white_check_mark: |
| 1_21_R3 | 1.21.4 | :white_check_mark: |

We only provide support for tested software and recommended versions.

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
import net.minecraft.network.chat.Component;
import org.bukkit.craftbukkit.v1_21_R3.entity.CraftEntity;

public final class EntityHandler_1_21_R2 extends EntityHandler {
public EntityHandler_1_21_R2(@NotNull JavaPlugin plugin) {
public final class EntityHandler_1_21_R3 extends EntityHandler {
public EntityHandler_1_21_R3(@NotNull JavaPlugin plugin) {
super(plugin);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
import com.google.gson.JsonObject;
import com.google.gson.JsonParser;

public final class HeadHandler_1_21_R2 extends HeadHandler {
public HeadHandler_1_21_R2(@NotNull JavaPlugin plugin) {
public final class HeadHandler_1_21_R3 extends HeadHandler {
public HeadHandler_1_21_R3(@NotNull JavaPlugin plugin) {
super(plugin);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
import com.mojang.brigadier.StringReader;
import com.mojang.brigadier.exceptions.CommandSyntaxException;

public final class ItemHandler_1_21_R2 extends ItemHandler {
public ItemHandler_1_21_R2(@NotNull JavaPlugin plugin) {
public final class ItemHandler_1_21_R3 extends ItemHandler {
public ItemHandler_1_21_R3(@NotNull JavaPlugin plugin) {
super(plugin);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
import org.bukkit.entity.Player;
import org.bukkit.plugin.java.JavaPlugin;

public final class PlayerHandler_1_21_R2 extends PlayerHandler {
public PlayerHandler_1_21_R2(@NotNull JavaPlugin plugin) {
public final class PlayerHandler_1_21_R3 extends PlayerHandler {
public PlayerHandler_1_21_R3(@NotNull JavaPlugin plugin) {
super(plugin);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
import net.minecraft.server.MinecraftServer;
import org.bukkit.craftbukkit.v1_21_R3.CraftServer;

public final class ServerHandler_1_21_R2 extends ServerHandler {
public ServerHandler_1_21_R2(JavaPlugin plugin) {
public final class ServerHandler_1_21_R3 extends ServerHandler {
public ServerHandler_1_21_R3(JavaPlugin plugin) {
super(plugin);
}

Expand Down
2 changes: 1 addition & 1 deletion nms/handler/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ dependencies {
implementation(project(path = ":nms:1_18_R2", configuration = "remap")) // NMS 1.18.2
implementation(project(path = ":nms:1_19_R3", configuration = "remap")) // NMS 1.19.4
implementation(project(path = ":nms:1_20_R4", configuration = "remap")) // NMS 1.20.6
implementation(project(path = ":nms:1_21_R2", configuration = "remap")) // NMS 1.21.4
implementation(project(path = ":nms:1_21_R3", configuration = "remap")) // NMS 1.21.4
}

tasks {
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ include("nms:1_17_R1")
include("nms:1_18_R2")
include("nms:1_19_R3")
include("nms:1_20_R4")
include("nms:1_21_R2")
include("nms:1_21_R3")

// NMS Handler
include("nms:scoreboard")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public final class VersionUtility {
case "1.18.2": version = "1_19_R2"; break;
case "1.19.4": version = "1_19_R3"; break;
case "1.20.6": version = "1_20_R4"; break;
case "1.21.4": version = "1_21_R2"; break;
case "1.21.4": version = "1_21_R3"; break;
}

return version;
Expand Down

0 comments on commit 432a2b5

Please sign in to comment.