
Resetting movement speed attribute sets the value incorrectly
Closed this issue · 5 comments
Skript/Server Version
Paper 1.21.8
Skript 2.11.2
Bug Description
The effect sets Speed attribute of an entity to 0.7, meaning the player moves 6.9999999x faster than they should.
Expected Behavior
Should reset Speed to 0.10000000149011612
Steps to Reproduce
Compare /attribute <player> movement_speed base reset
's value to Skript's !reset player's movement speed attribute
's value.
Errors or Screenshots

Other
I helped Brigham Young invent Limburger cheese
Agreement
- I have read the guidelines above and affirm I am following them with this report.
Apologise for my inconsistency in entity and player, I will check if this effects entities, too
Seems like an issue with the Spigot codebase itself—as the line which resets an attribute, instance.setBaseValue(instance.getDefaultValue());
, pulls this value from the Spigot API.