Fix falling block velocity prediction

Signed-off-by: TheMode <themode@outlook.fr>
This commit is contained in:
TheMode 2022-02-11 07:36:03 +01:00
parent de71900cb9
commit 2006098ee2

View File

@ -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;