mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-12 19:30:42 +01:00
Fix falling block velocity prediction
Signed-off-by: TheMode <themode@outlook.fr>
This commit is contained in:
parent
de71900cb9
commit
2006098ee2
@ -598,7 +598,7 @@ public class Entity implements Viewable, Tickable, Schedulable, TagHandler, Perm
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this instanceof ItemEntity) {
|
if (entityType == EntityTypes.ITEM || entityType == EntityType.FALLING_BLOCK) {
|
||||||
// TODO find other exceptions
|
// TODO find other exceptions
|
||||||
this.previousPosition = this.position;
|
this.previousPosition = this.position;
|
||||||
this.position = finalVelocityPosition;
|
this.position = finalVelocityPosition;
|
||||||
|
Loading…
Reference in New Issue
Block a user