mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-28 03:34:43 +02:00
Fixing an error due to confusingly named check
Refactored healthBarEnabled to healthBarPluginEnabled to avoid this from happening again.
This commit is contained in:
@ -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 (!mcMMO.isHealthBarEnabled() || !Permissions.mobHealthDisplay(player)) {
|
||||
if (mcMMO.isHealthBarPluginEnabled() || !Permissions.mobHealthDisplay(player)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user