mirror of
https://github.com/zeshan321/ActionHealth.git
synced 2024-11-26 04:35:13 +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'
|
group = 'com.zeshanaslam'
|
||||||
version = '3.5.8'
|
version = '3.5.9'
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
|
@ -268,7 +268,7 @@ public class HealthUtil {
|
|||||||
message = ChatColor.translateAlternateColorCodes('&', message);
|
message = ChatColor.translateAlternateColorCodes('&', message);
|
||||||
|
|
||||||
try {
|
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);
|
new NewAction(player, message);
|
||||||
} else if (plugin.configStore.mcVersion.contains("v1_16")) {
|
} else if (plugin.configStore.mcVersion.contains("v1_16")) {
|
||||||
new PreAction(player, message);
|
new PreAction(player, message);
|
||||||
|
Loading…
Reference in New Issue
Block a user