comments update.

This commit is contained in:
asofold 2012-11-23 16:24:39 +01:00
parent 1a2a5d3d05
commit e388e4d306

View File

@ -16,7 +16,7 @@ public class BedLeave extends Check {
* *
* @param player * @param player
* the 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) { public boolean checkBed(final Player player) {
final CombinedData data = CombinedData.getData(player); final CombinedData data = CombinedData.getData(player);
@ -34,8 +34,9 @@ public class BedLeave extends Check {
cancel = true; cancel = true;
} }
} else{ } else{
// He has, everything is alright. // He has, everything is allright.
data.wasInBed = false; data.wasInBed = false;
// TODO: think about decreasing the vl ?
} }
return cancel; return cancel;
} }