mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-07 00:48:28 +01:00
Fix position packet being sent twice
This commit is contained in:
parent
faae59ff44
commit
30464d903d
@ -532,7 +532,6 @@ public class Entity implements Viewable, Tickable, EventHandler<EntityEvent>, Da
|
|||||||
// Apply the position if changed
|
// Apply the position if changed
|
||||||
if (!finalVelocityPosition.samePoint(position)) {
|
if (!finalVelocityPosition.samePoint(position)) {
|
||||||
refreshPosition((Pos) finalVelocityPosition, true);
|
refreshPosition((Pos) finalVelocityPosition, true);
|
||||||
sendPositionUpdate(true);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Update velocity
|
// Update velocity
|
||||||
|
Loading…
Reference in New Issue
Block a user