Closed WaxenSs closed 8 months ago
The grass path speed is intentionally set as an effect so it doesn't stack to ridiculous speeds and so we don't have to handle any edge cases. Modifying player base speed is asking for trouble since there is no sensible API to distinguish our modifications from other plugins' modifications.
Okay, now I understand better the behavior of the grass path. The effect is not given by any plugin, it's given by a Beacon or a speed potion.
When a player already has speed on a grass path and leaves the grass path, the speed is removed from the player. The grass path speed must override the player's base speed, and must therefore reset the player's old speed counter.