bugfix
Dieser Commit ist enthalten in:
Ursprung
160d4fdb50
Commit
7a6b079b9d
@ -28,8 +28,10 @@ public class FlyCommand implements CommandExecutor {
|
||||
return false;
|
||||
}
|
||||
|
||||
boolean newFlightState = !player.isFlying();
|
||||
LobbyPlayer.getLobbyPlayer(player.getUniqueId()).setFly(newFlightState);
|
||||
LobbyPlayer lobbyPlayer = LobbyPlayer.getLobbyPlayer(player.getUniqueId());
|
||||
boolean newFlightState = !lobbyPlayer.isFly();
|
||||
|
||||
lobbyPlayer.setFly(newFlightState);
|
||||
player.setAllowFlight(newFlightState);
|
||||
player.setFlying(newFlightState);
|
||||
player.sendMessage("§7Du kannst jetzt " + (newFlightState ? "§afliegen§7." : "§cnicht §7mehr fliegen."));
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren