mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-12-28 11:28:11 +01:00
comments update.
This commit is contained in:
parent
1a2a5d3d05
commit
e388e4d306
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user