mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-12-24 01:27:35 +01:00
Set speed into 0.0
This commit is contained in:
parent
2fdd5ef325
commit
7ec79afe4a
@ -118,8 +118,8 @@ public class ProcessSyncronousPasswordRegister implements Runnable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!Settings.isMovementAllowed && Settings.isRemoveSpeedEnabled) {
|
if (!Settings.isMovementAllowed && Settings.isRemoveSpeedEnabled) {
|
||||||
player.setWalkSpeed(0.2f);
|
player.setWalkSpeed(0.0f);
|
||||||
player.setFlySpeed(0.1f);
|
player.setFlySpeed(0.0f);
|
||||||
}
|
}
|
||||||
|
|
||||||
// The LoginEvent now fires (as intended) after everything is processed
|
// The LoginEvent now fires (as intended) after everything is processed
|
||||||
|
Loading…
Reference in New Issue
Block a user