mirror of
https://github.com/Minestom/Minestom.git
synced 2024-12-25 02:27:38 +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;
|
||||
}
|
||||
|
||||
if (this instanceof ItemEntity) {
|
||||
if (entityType == EntityTypes.ITEM || entityType == EntityType.FALLING_BLOCK) {
|
||||
// TODO find other exceptions
|
||||
this.previousPosition = this.position;
|
||||
this.position = finalVelocityPosition;
|
||||
|
Loading…
Reference in New Issue
Block a user