Why are we using Camera Yaw for Spawning NPCs? Fix Starring at the Ground

This commit is contained in:
Kam committed 2026-02-23 20:44:15 -05:00
1 parent ed09511952
commit 1f76564b9d
3 files changed
+3 -3

No files matched your search

@@ -48,7 +48,7 @@ public class ItemNpcWand extends Item {
EntityCustomNpc npc = new EntityCustomNpc(par3World);
npc.ais.startPos = new int[]{par4, par5, par6};
npc.setLocationAndAngles((float) par4 + 0.5F, npc.getStartYPos(), (float) par6 + 0.5F, player.rotationYaw, player.rotationPitch);
npc.setLocationAndAngles((float) par4 + 0.5F, npc.getStartYPos(), (float) par6 + 0.5F, player.rotationYaw, 0);
par3World.spawnEntityInWorld(npc);
npc.setHealth(npc.getMaxHealth());