mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-22 02:25:57 +01:00
Remove villager reset pitch code
This commit is contained in:
parent
f71e9e47d9
commit
fbb6a48349
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user