mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-12-22 17:18:20 +01:00
Backport pressure plate change
This commit is contained in:
parent
f8cc30d7f2
commit
d3107b5caa
@ -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()) {
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user