From 4ab507004344f8b9fb8d8a8aa4f4aae8dd409323 Mon Sep 17 00:00:00 2001 From: William Date: Thu, 3 Feb 2022 19:36:25 +0000 Subject: [PATCH] Comment typo --- .../java/me/william278/husksync/bukkit/util/PlayerSetter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bukkit/src/main/java/me/william278/husksync/bukkit/util/PlayerSetter.java b/bukkit/src/main/java/me/william278/husksync/bukkit/util/PlayerSetter.java index 875417f7..562939ed 100644 --- a/bukkit/src/main/java/me/william278/husksync/bukkit/util/PlayerSetter.java +++ b/bukkit/src/main/java/me/william278/husksync/bukkit/util/PlayerSetter.java @@ -66,7 +66,7 @@ public class PlayerSetter { private static double getMaxHealth(Player player) { double maxHealth = Objects.requireNonNull(player.getAttribute(Attribute.GENERIC_MAX_HEALTH)).getBaseValue(); - // If the player has additional health bonuses from synchronised potion effects, subtract these from this number as they are synchronised seperately + // If the player has additional health bonuses from synchronised potion effects, subtract these from this number as they are synchronised separately if (player.hasPotionEffect(PotionEffectType.HEALTH_BOOST) && maxHealth > 20D) { PotionEffect healthBoostEffect = player.getPotionEffect(PotionEffectType.HEALTH_BOOST); assert healthBoostEffect != null;