Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-24 07:10:10 +01:00
Fixed incorrect assigning to isFlying when toggling setAllowedFlight(false)
Dieser Commit ist enthalten in:
Ursprung
6ef9500410
Commit
942c1c6a3e
@ -825,7 +825,7 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
||||
|
||||
public void setAllowFlight(boolean value) {
|
||||
if (isFlying() && !value) {
|
||||
getHandle().abilities.canFly = false;
|
||||
getHandle().abilities.isFlying = false;
|
||||
}
|
||||
|
||||
getHandle().abilities.canFly = value;
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren