mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2025-01-13 03:10:36 +01:00
#1006 Player speed workaround
This commit is contained in:
parent
3362cf7b95
commit
fabd77f548
@ -84,10 +84,10 @@ public class LimboCache {
|
||||
float walkSpeed = data.getWalkSpeed();
|
||||
float flySpeed = data.getFlySpeed();
|
||||
// Reset the speed value if it was 0
|
||||
if(walkSpeed == 0f) {
|
||||
if(walkSpeed < 0.01f) {
|
||||
walkSpeed = 0.2f;
|
||||
}
|
||||
if(flySpeed == 0f) {
|
||||
if(flySpeed < 0.01f) {
|
||||
flySpeed = 0.2f;
|
||||
}
|
||||
player.setWalkSpeed(walkSpeed);
|
||||
|
Loading…
Reference in New Issue
Block a user