mirror of
https://github.com/Minestom/Minestom.git
synced 2024-06-26 06:24:54 +02: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