From e388e4d306e34953ada3d01188fb5f71e668d23e Mon Sep 17 00:00:00 2001 From: asofold Date: Fri, 23 Nov 2012 16:24:39 +0100 Subject: [PATCH] comments update. --- src/fr/neatmonster/nocheatplus/checks/combined/BedLeave.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/fr/neatmonster/nocheatplus/checks/combined/BedLeave.java b/src/fr/neatmonster/nocheatplus/checks/combined/BedLeave.java index f6f85832..fa57fe3b 100644 --- a/src/fr/neatmonster/nocheatplus/checks/combined/BedLeave.java +++ b/src/fr/neatmonster/nocheatplus/checks/combined/BedLeave.java @@ -16,7 +16,7 @@ public class BedLeave extends Check { * * @param player * the player - * @return Location to teleport to if it is a violation. + * @return If to prevent action (would be set back location of survivalfly). */ public boolean checkBed(final Player player) { final CombinedData data = CombinedData.getData(player); @@ -34,8 +34,9 @@ public class BedLeave extends Check { cancel = true; } } else{ - // He has, everything is alright. + // He has, everything is allright. data.wasInBed = false; + // TODO: think about decreasing the vl ? } return cancel; }