mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-07-24 13:15:06 +02:00
Fix Logout fly error
This commit is contained in:
parent
3f89304aed
commit
c5fbdb96b7
|
@ -113,8 +113,8 @@ public class LogoutCommand implements CommandExecutor {
|
|||
if (Settings.applyBlindEffect)
|
||||
player.addPotionEffect(new PotionEffect(PotionEffectType.BLINDNESS, Settings.getRegistrationTimeout * 20, 2));
|
||||
player.setOp(false);
|
||||
player.setFlying(true);
|
||||
player.setAllowFlight(true);
|
||||
player.setFlying(true);
|
||||
m._(player, "logout");
|
||||
ConsoleLogger.info(player.getDisplayName() + " logged out");
|
||||
if (plugin.notifications != null) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user