mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-09-28 22:47:32 +02:00
9478daaa02
To model differing behavior of fluids, i.e. half fall distance per in-lava move vs. zero fall distance once in water, block flags will be used. To really do this the NoFall check will be altered to account for new flags. Once at it, the check should also treat from and to independently of each other - there are some inconsistencies, such as how oFallMaxY is set. Further flags are reserved for MIN_HEIGHT..., indicating that compatibility will be improved without compromising protection too much. Thus instead of making a block entirely passable, you could set a specific min height flag alongside ground_height (and possibly height for max. height), in order to allow walking between level x and y but not below (think of grass_path). |
||
---|---|---|
.. | ||
src | ||
pom.xml |