mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-06-26 06:14:42 +02:00
Comment on height150 (with axis tracing).
This commit is contained in:
parent
ae44be5740
commit
0a834624ac
|
@ -45,6 +45,12 @@ public class PassableAxisTracing extends AxisTracing implements ICollidePassable
|
|||
final double maxX, final double maxY, final double maxZ,
|
||||
final Axis axis, final int increment) {
|
||||
if (BlockProperties.isPassableBox(blockCache, blockX, blockY, blockZ, minX, minY, minZ, maxX, maxY, maxZ)) {
|
||||
/*
|
||||
* TODO: HEIGHT150 -> if not passable... how/where to test for block
|
||||
* change tracker? E.g.: y-offset from block < 0.5 -> check the
|
||||
* block underneath. (one method check box normal + opportunistic
|
||||
* past state handling in one?)
|
||||
*/
|
||||
return true;
|
||||
}
|
||||
// TODO: if (blockChangeTracker != null && -- check with BlockChangeTracker and BlockChangeReference --
|
||||
|
|
|
@ -4092,6 +4092,10 @@ public class BlockProperties {
|
|||
}
|
||||
}
|
||||
}
|
||||
/*
|
||||
* Consider doing an xz iteration here for HEIGHT150, iff y-offset <=
|
||||
* 0.5 (and possibly a flag is set).
|
||||
*/
|
||||
return added;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user