mirror of
https://github.com/zeshan321/ActionHealth.git
synced 2024-11-22 10:45:17 +01:00
Updated to support 1.20 MC version
This commit is contained in:
parent
aacbf3af3d
commit
210ae03593
@ -4,7 +4,7 @@ plugins {
|
||||
}
|
||||
|
||||
group = 'com.zeshanaslam'
|
||||
version = '3.5.8'
|
||||
version = '3.5.9'
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user