diff --git a/src/pocketmine/entity/Attribute.php b/src/pocketmine/entity/Attribute.php index 835a2debe..15b2664a1 100644 --- a/src/pocketmine/entity/Attribute.php +++ b/src/pocketmine/entity/Attribute.php @@ -54,7 +54,7 @@ class Attribute{ public static function init() : void{ self::addAttribute(self::ABSORPTION, "minecraft:absorption", 0.00, 340282346638528859811704183484516925440.00, 0.00); self::addAttribute(self::SATURATION, "minecraft:player.saturation", 0.00, 20.00, 20.00); - self::addAttribute(self::EXHAUSTION, "minecraft:player.exhaustion", 0.00, 5.00, 0.0); + self::addAttribute(self::EXHAUSTION, "minecraft:player.exhaustion", 0.00, 5.00, 0.0, false); self::addAttribute(self::KNOCKBACK_RESISTANCE, "minecraft:knockback_resistance", 0.00, 1.00, 0.00); self::addAttribute(self::HEALTH, "minecraft:health", 0.00, 20.00, 20.00); self::addAttribute(self::MOVEMENT_SPEED, "minecraft:movement", 0.00, 340282346638528859811704183484516925440.00, 0.10);