diff --git a/build.gradle b/build.gradle index 44ef506..1cb2e68 100644 --- a/build.gradle +++ b/build.gradle @@ -4,7 +4,7 @@ plugins { } group = 'com.zeshanaslam' -version = '3.5.7' +version = '3.5.8' repositories { mavenCentral() diff --git a/src/main/java/com/zeshanaslam/actionhealth/utils/HealthUtil.java b/src/main/java/com/zeshanaslam/actionhealth/utils/HealthUtil.java index 9757b36..a4b6cb2 100644 --- a/src/main/java/com/zeshanaslam/actionhealth/utils/HealthUtil.java +++ b/src/main/java/com/zeshanaslam/actionhealth/utils/HealthUtil.java @@ -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")) { + if (plugin.configStore.mcVersion.contains("v1_17") || plugin.configStore.mcVersion.contains("v1_18") || plugin.configStore.mcVersion.contains("v1_19")) { new NewAction(player, message); } else if (plugin.configStore.mcVersion.contains("v1_16")) { new PreAction(player, message); diff --git a/src/main/resources/config.yml b/src/main/resources/config.yml index 1eab001..10fcd2c 100644 --- a/src/main/resources/config.yml +++ b/src/main/resources/config.yml @@ -108,9 +108,12 @@ Invisible Potion: true # Hide if entity is in spectator mode. Spectator Mode: true -# If to show MiniaturePets health or not +# If true show MiniaturePets health or not ShowMiniaturePets: true +# If true show Armor Stand health or not +ShowArmorStand: true + # Translate names. Case sensitive! # Check ActionHealth page if translations already exist for the language you plan on using. #