We use liquid, not fluid.

This commit is contained in:
asofold 2013-02-23 16:54:50 +01:00
parent 1c0a40e36a
commit 47862a651f
5 changed files with 6 additions and 6 deletions

View File

@ -370,7 +370,7 @@ public class BlockProperties {
blockFlags[i] = 0;
if (mcAccess.isBlockLiquid(i).decide()){
// TODO: do not set F_GROUND for fluids ?
// TODO: do not set F_GROUND for liquids ?
blockFlags[i] |= F_LIQUID;
if (mcAccess.isBlockSolid(i).decide()) blockFlags[i] |= F_SOLID;
}

View File

@ -514,7 +514,7 @@ public class PlayerLocation {
}
/**
* Reset condition for flying checks (sf + nofall): fluids, web, ladder (not on-ground, though).
* Reset condition for flying checks (sf + nofall): liquids, web, ladder (not on-ground, though).
* @return
*/
public boolean isResetCond(){

View File

@ -9,7 +9,7 @@ public enum MediumLiftOff {
/** Ordinary ground, normal jumping. */
GROUND,
/**
* Used for reduced jumping height. Until known better this is used for fluids, cobweb.
* Used for reduced jumping height. Until known better this is used for liquids, cobweb.
*/
LIMIT_JUMP,

View File

@ -114,7 +114,7 @@ public class SurvivalFly extends Check {
double hAllowedDistance = getAllowedhDist(player, from, to, sprinting, hDistance, data, cc, false);
// Account for flowing liquids (only if needed).
// Assume: If in fluids this would be placed right here.
// Assume: If in liquids this would be placed right here.
if (hDistance > swimmingSpeed && from.isInLiquid() && from.isDownStream(xDistance, zDistance)) {
hAllowedDistance *= modDownStream;
}

View File

@ -82,8 +82,8 @@ permissions:
nocheatplus.checks.blockbreak.break:
description: Allow the player to break special blocks.
children:
nocheatplus.checks.blockbreak.break.fluid:
description: Allow players to break fluids.
nocheatplus.checks.blockbreak.break.liquid:
description: Allow players to break liquid.
nocheatplus.checks.blockbreak.direction:
description: Allow the player to bypass to Direction check.
nocheatplus.checks.blockbreak.fastbreak: