oddlama / vane

Immersive and lore friendly enhancements for vanilla Minecraft
MIT License
272 stars 33 forks source link

[TRIFLES] Bug grass path #212

Closed WaxenSs closed 8 months ago

WaxenSs commented 1 year ago

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.

oddlama commented 1 year 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.

WaxenSs commented 1 year ago

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.