Add applyEffectsFromBlocks

This commit is contained in:
fullwall 2024-11-19 03:49:07 +08:00
parent cd98ed3539
commit 2c25291676

View File

@ -144,6 +144,7 @@ public class EntityHumanNPC extends ServerPlayer implements NPCHolder, Skinnable
moveOnCurrentHeading(); moveOnCurrentHeading();
} }
tickAI(); tickAI();
applyEffectsFromBlocks();
noPhysics = isSpectator(); noPhysics = isSpectator();
if (isSpectator()) { if (isSpectator()) {
onGround = false; onGround = false;