Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-18 04:20:08 +01:00
SPIGOT-1986: Fix flying players spamming EntityToggleGlideEvent
Dieser Commit ist enthalten in:
Ursprung
a8eec15e53
Commit
02b26eec0e
@ -378,11 +378,3 @@
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1266,6 +1426,7 @@
|
||||
this.motY = d3 * 0.6D;
|
||||
this.aQ = f2;
|
||||
this.fallDistance = 0.0F;
|
||||
+ if (!getFlag(7) && !CraftEventFactory.callToggleGlideEvent(this, false).isCancelled()) // CraftBukkit
|
||||
this.setFlag(7, false);
|
||||
} else {
|
||||
super.g(f, f1);
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren