[SPIGOT-2587] Negative player walkspeeds Created: 11/Aug/16 Updated: 12/Aug/16 Resolved: 11/Aug/16 |
|
Status: | Resolved |
Project: | Spigot |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Minor |
Reporter: | blablubbabc | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | None |
Description |
Somewhere since 1.9 or 1.10 craftbukkit started filtering out attempts to apply negative walkspeeds. In 1.8 and before it was still possible and even supported if one takes a look at the javadocs. This makes sure that the walkspeed is at least 0.0001, filtering out negative walkspeeds as well. Is there any reason for this? Could this be solved and still allow the previously possible negative speed values? Negative walkspeed values can be used for changing the players fov ('zooming effect'). |
Comments |
Comment by blablubbabc [ 12/Aug/16 ] |
Thanks, especially for looking into it so fast. |
Comment by md_5 [ 11/Aug/16 ] |
This code is not in CraftBukkit. |