Disable our healthbars when the plugin "HealthBar" is found

Adds #1477
This commit is contained in:
TfT_02
2013-09-22 14:39:20 +02:00
parent 0a9fd4a92e
commit b8c479549c
4 changed files with 13 additions and 2 deletions

View File

@ -40,7 +40,7 @@ public final class MobHealthbarUtils {
* @param damage damage done by the attack triggering this
*/
public static void handleMobHealthbars(Player player, LivingEntity target, double damage) {
if (!Permissions.mobHealthDisplay(player)) {
if (!mcMMO.isHealthBarEnabled() || !Permissions.mobHealthDisplay(player)) {
return;
}