Remove villager reset pitch code

This commit is contained in:
fullwall 2024-08-25 02:15:40 +08:00
parent f71e9e47d9
commit fbb6a48349
3 changed files with 0 additions and 9 deletions

View File

@ -103,9 +103,6 @@ public class VillagerController extends MobEntityController {
super.customServerAiStep();
if (npc != null) {
npc.update();
if (npc.data().get(NPC.Metadata.RESET_PITCH_ON_TICK, true)) {
NMS.setPitch(getBukkitEntity(), 0);
}
}
}

View File

@ -101,9 +101,6 @@ public class VillagerController extends MobEntityController {
super.customServerAiStep();
if (npc != null) {
npc.update();
if (npc.data().get(NPC.Metadata.RESET_PITCH_ON_TICK, true)) {
NMS.setPitch(getBukkitEntity(), 0);
}
}
}

View File

@ -109,9 +109,6 @@ public class VillagerController extends MobEntityController {
super.customServerAiStep();
if (npc != null) {
npc.update();
if (npc.data().get(NPC.Metadata.RESET_PITCH_ON_TICK, true)) {
NMS.setPitch(getBukkitEntity(), 0);
}
}
}