1
0
forked from xjboss/KCauldronX

Revert "增加对OptionalForce的检查来确定是否跳过实体tick"

This reverts commit 1f7f67c56d.
This commit is contained in:
xjboss 2017-06-28 20:19:55 +08:00
parent 1f7f67c56d
commit 5d619b8f7e

View File

@ -1079,7 +1079,7 @@
public void updateEntityWithOptionalForce(Entity p_72866_1_, boolean p_72866_2_) public void updateEntityWithOptionalForce(Entity p_72866_1_, boolean p_72866_2_)
{ {
+ if (p_72866_1_.isDead) return; + if (p_72866_1_.isDead) return;
+ if(!CauldronHooks.canEntityTick(p_72866_1_,this)&&!p_72866_2_){ + if(!CauldronHooks.canEntityTick(p_72866_1_,this)){
+ p_72866_1_.ticksExisted++; + p_72866_1_.ticksExisted++;
+ p_72866_1_.inactiveTick(); + p_72866_1_.inactiveTick();
+ return; + return;