mirror of
https://github.com/Minestom/Minestom.git
synced 2025-03-09 21:29:08 +01:00
Passenger entities should not send velocity packets
Signed-off-by: TheMode <themode@outlook.fr>
This commit is contained in:
parent
ccbbf6b512
commit
e43d001076
@ -469,6 +469,8 @@ public class Entity implements Viewable, Tickable, TagHandler, PermissionHandler
|
||||
return;
|
||||
}
|
||||
|
||||
if (vehicle != null) return;
|
||||
|
||||
final boolean noGravity = hasNoGravity();
|
||||
final boolean hasVelocity = hasVelocity();
|
||||
if (!hasVelocity && noGravity) {
|
||||
|
Loading…
Reference in New Issue
Block a user