diff --git a/NCPCore/src/main/java/fr/neatmonster/nocheatplus/checks/ViolationData.java b/NCPCore/src/main/java/fr/neatmonster/nocheatplus/checks/ViolationData.java index f1b00844..cb8cd0b2 100644 --- a/NCPCore/src/main/java/fr/neatmonster/nocheatplus/checks/ViolationData.java +++ b/NCPCore/src/main/java/fr/neatmonster/nocheatplus/checks/ViolationData.java @@ -137,7 +137,7 @@ public class ViolationData implements IViolationInfo, ActionData { case CHECK: return check.getClass().getSimpleName(); case HEALTH: { - String health = getParameter(ParameterName.HEALTH); + String health = getParameterValue(ParameterName.HEALTH); return health == null ? (player.getHealth() + "/" + player.getMaxHealth()) : health; } case IP: