Updated to support 1.20 MC version

This commit is contained in:
zeshanaslam 2023-06-22 21:39:36 -04:00
parent aacbf3af3d
commit 210ae03593
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ plugins {
}
group = 'com.zeshanaslam'
version = '3.5.8'
version = '3.5.9'
repositories {
mavenCentral()

View File

@ -268,7 +268,7 @@ public class HealthUtil {
message = ChatColor.translateAlternateColorCodes('&', message);
try {
if (plugin.configStore.mcVersion.contains("v1_17") || plugin.configStore.mcVersion.contains("v1_18") || plugin.configStore.mcVersion.contains("v1_19")) {
if (plugin.configStore.mcVersion.contains("v1_17") || plugin.configStore.mcVersion.contains("v1_18") || plugin.configStore.mcVersion.contains("v1_19") || plugin.configStore.mcVersion.contains("v1_20")) {
new NewAction(player, message);
} else if (plugin.configStore.mcVersion.contains("v1_16")) {
new PreAction(player, message);