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)
|
if (Settings.applyBlindEffect)
|
||||||
player.addPotionEffect(new PotionEffect(PotionEffectType.BLINDNESS, Settings.getRegistrationTimeout * 20, 2));
|
player.addPotionEffect(new PotionEffect(PotionEffectType.BLINDNESS, Settings.getRegistrationTimeout * 20, 2));
|
||||||
player.setOp(false);
|
player.setOp(false);
|
||||||
player.setFlying(true);
|
|
||||||
player.setAllowFlight(true);
|
player.setAllowFlight(true);
|
||||||
|
player.setFlying(true);
|
||||||
m._(player, "logout");
|
m._(player, "logout");
|
||||||
ConsoleLogger.info(player.getDisplayName() + " logged out");
|
ConsoleLogger.info(player.getDisplayName() + " logged out");
|
||||||
if (plugin.notifications != null) {
|
if (plugin.notifications != null) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user