Fix position packet being sent twice

This commit is contained in:
TheMode 2021-07-07 19:38:43 +02:00
parent faae59ff44
commit 30464d903d

View File

@ -532,7 +532,6 @@ public class Entity implements Viewable, Tickable, EventHandler<EntityEvent>, Da
// Apply the position if changed
if (!finalVelocityPosition.samePoint(position)) {
refreshPosition((Pos) finalVelocityPosition, true);
sendPositionUpdate(true);
}
// Update velocity