# Barrier - v2.0.22 ## 1.21.4+ Compatibility & Totem Fix This update brings Barrier up to Minecraft 1.21.4+ compatibility and corrects totem-of-undying hand priority during storm damage. --- ### PLUGIN FIXES - **Totem hand priority** — Totem detection and consumption now check the mainhand before the offhand, so a totem held in the mainhand is used first. - **Deprecated attribute** — Replaced `Attribute.GENERIC_MAX_HEALTH` with `Attribute.MAX_HEALTH` for 1.21.4+ compatibility. --- ### INTERNAL UPDATES - Bumped **Paper API** to `1.21.4-R0.1-SNAPSHOT`. - Updated `plugin.yml` api-version to `1.21`. - Minimum supported version is now **1.21.4**. - Bumped **Barrier-Paper** to `2.0.22`.