1
0
Fork 0

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

kcx-1614
聪聪 2017-06-28 09:03:10 +08:00
parent cd45e47829
commit 1f7f67c56d
1 changed files with 1 additions and 1 deletions

View File

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