Backport pressure plate change

This commit is contained in:
fullwall 2024-11-28 19:49:58 +08:00
parent f8cc30d7f2
commit d3107b5caa
2 changed files with 2 additions and 0 deletions

View File

@ -141,6 +141,7 @@ public class EntityHumanNPC extends ServerPlayer implements NPCHolder, Skinnable
moveOnCurrentHeading(); moveOnCurrentHeading();
} }
tickAI(); tickAI();
tryCheckInsideBlocks();
detectEquipmentUpdates(); detectEquipmentUpdates();
noPhysics = isSpectator(); noPhysics = isSpectator();
if (isSpectator()) { if (isSpectator()) {

View File

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