From d62951ade7ccda43e0dfc84a7a97fa97528d07a9 Mon Sep 17 00:00:00 2001 From: asofold Date: Sun, 15 Nov 2015 03:18:46 +0100 Subject: [PATCH] Don't use method name shorteners. --- .../java/fr/neatmonster/nocheatplus/checks/ViolationData.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: