mirror of
https://github.com/Minestom/Minestom.git
synced 2024-11-05 18:32:28 +01:00
Potential deprecation of EntityCreature#move
This commit is contained in:
parent
49b4f0c79d
commit
628e87e531
@ -80,6 +80,7 @@ public abstract class EntityCreature extends LivingEntity {
|
||||
* @param updateView should the entity move its head toward the position?
|
||||
*/
|
||||
public void move(float x, float y, float z, boolean updateView) {
|
||||
// TODO: remove ? Entity#tick already performs this behaviour, and syncs it properly
|
||||
final Position position = getPosition();
|
||||
Position newPosition = new Position();
|
||||
// Calculate collisions boxes
|
||||
|
Loading…
Reference in New Issue
Block a user