diff --git a/bukkit/src/main/java/net/pl3x/map/bukkit/BukkitPlayer.java b/bukkit/src/main/java/net/pl3x/map/bukkit/BukkitPlayer.java index 190251e28..344e6b824 100644 --- a/bukkit/src/main/java/net/pl3x/map/bukkit/BukkitPlayer.java +++ b/bukkit/src/main/java/net/pl3x/map/bukkit/BukkitPlayer.java @@ -96,7 +96,7 @@ public int getHealth() { @Override public int getArmorPoints() { - AttributeInstance attr = getPlayer().getAttribute(Attribute.GENERIC_ARMOR); + AttributeInstance attr = getPlayer().getAttribute(Attribute.ARMOR); return attr == null ? 0 : (int) Math.round(attr.getValue()); }