Skip to content

Commit be24b0f

Browse files
fancynpcs: Add support for 1.21.6
1 parent 64e0eed commit be24b0f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

plugins/fancynpcs/src/main/java/de/oliver/fancynpcs/AttributeManagerImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public AttributeManagerImpl() {
3030
private void init() {
3131
String mcVersion = Bukkit.getMinecraftVersion();
3232
switch (mcVersion) {
33-
case "1.21.6 Release Candidate 1" -> attributes = Attributes_1_21_6.getAllAttributes();
33+
case "1.21.6" -> attributes = Attributes_1_21_6.getAllAttributes();
3434
case "1.21.5" -> attributes = Attributes_1_21_5.getAllAttributes();
3535
case "1.21.4" -> attributes = Attributes_1_21_4.getAllAttributes();
3636
case "1.21.2", "1.21.3" -> attributes = Attributes_1_21_3.getAllAttributes();

plugins/fancynpcs/src/main/java/de/oliver/fancynpcs/FancyNpcs.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ public void onLoad() {
155155
String mcVersion = Bukkit.getMinecraftVersion();
156156

157157
switch (mcVersion) {
158-
case "1.21.6 Release Candidate 1" -> npcAdapter = Npc_1_21_6::new;
158+
case "1.21.6" -> npcAdapter = Npc_1_21_6::new;
159159
case "1.21.5" -> npcAdapter = Npc_1_21_5::new;
160160
case "1.21.4" -> npcAdapter = Npc_1_21_4::new;
161161
case "1.21.2", "1.21.3" -> npcAdapter = Npc_1_21_3::new;

0 commit comments

Comments
 (0)