1.16.2 support
This commit is contained in:
parent
9da7fa0972
commit
2fe5f309ea
|
@ -0,0 +1,5 @@
|
|||
Manifest-Version: 1.0
|
||||
Class-Path: PlaceholderAPI-2.10.9.jar MVdWPlaceholderAPI.jar LangUtils-1
|
||||
.9.jar MythicMobs-4.9.1.jar worldguardwrapper-1.1.9-SNAPSHOT.jar spigot
|
||||
-1.16.2.jar
|
||||
|
|
@ -265,7 +265,7 @@ public class HealthUtil {
|
|||
message = ChatColor.translateAlternateColorCodes('&', message);
|
||||
|
||||
try {
|
||||
if(plugin.configStore.mcVersion.equals("v1_16_R1")){
|
||||
if(plugin.configStore.mcVersion.equals("v1_16_R1") || plugin.configStore.mcVersion.equals("v1_16_R2")){
|
||||
new PreAction(player, message);
|
||||
} else if (plugin.configStore.mcVersion.equals("v1_12_R1") || plugin.configStore.mcVersion.startsWith("v1_13") || plugin.configStore.mcVersion.startsWith("v1_14_") || plugin.configStore.mcVersion.startsWith("v1_15_")) {
|
||||
new LegacyPreAction(player, message);
|
||||
|
|
Loading…
Reference in New Issue