Added 1.19 support
This commit is contained in:
parent
52fba93322
commit
b58356e84d
|
@ -4,7 +4,7 @@ plugins {
|
||||||
}
|
}
|
||||||
|
|
||||||
group = 'com.zeshanaslam'
|
group = 'com.zeshanaslam'
|
||||||
version = '3.5.7'
|
version = '3.5.8'
|
||||||
|
|
||||||
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")) {
|
if (plugin.configStore.mcVersion.contains("v1_17") || plugin.configStore.mcVersion.contains("v1_18") || plugin.configStore.mcVersion.contains("v1_19")) {
|
||||||
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);
|
||||||
|
|
|
@ -108,9 +108,12 @@ Invisible Potion: true
|
||||||
# Hide if entity is in spectator mode.
|
# Hide if entity is in spectator mode.
|
||||||
Spectator Mode: true
|
Spectator Mode: true
|
||||||
|
|
||||||
# If to show MiniaturePets health or not
|
# If true show MiniaturePets health or not
|
||||||
ShowMiniaturePets: true
|
ShowMiniaturePets: true
|
||||||
|
|
||||||
|
# If true show Armor Stand health or not
|
||||||
|
ShowArmorStand: true
|
||||||
|
|
||||||
# Translate names. Case sensitive!
|
# Translate names. Case sensitive!
|
||||||
# Check ActionHealth page if translations already exist for the language you plan on using.
|
# Check ActionHealth page if translations already exist for the language you plan on using.
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue