mirror of
https://github.com/zeshan321/ActionHealth.git
synced 2024-11-14 06:45:11 +01:00
Added 1.19 support
This commit is contained in:
parent
52fba93322
commit
b58356e84d
@ -4,7 +4,7 @@ plugins {
|
||||
}
|
||||
|
||||
group = 'com.zeshanaslam'
|
||||
version = '3.5.7'
|
||||
version = '3.5.8'
|
||||
|
||||
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")) {
|
||||
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);
|
||||
|
@ -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.
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user