mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2025-01-14 12:11:30 +01:00
Set immune to zombification always
This commit is contained in:
parent
97fae0a7e4
commit
7023ac4c54
@ -172,7 +172,7 @@ public class HoglinController extends MobEntityController {
|
|||||||
public void mobTick() {
|
public void mobTick() {
|
||||||
if (npc != null) {
|
if (npc != null) {
|
||||||
NMSImpl.updateMinecraftAIState(npc, this);
|
NMSImpl.updateMinecraftAIState(npc, this);
|
||||||
setImmuneToZombification(npc.isProtected());
|
setImmuneToZombification(true);
|
||||||
}
|
}
|
||||||
super.mobTick();
|
super.mobTick();
|
||||||
if (npc != null) {
|
if (npc != null) {
|
||||||
|
@ -177,7 +177,7 @@ public class PiglinBruteController extends MobEntityController {
|
|||||||
public void mobTick() {
|
public void mobTick() {
|
||||||
if (npc != null) {
|
if (npc != null) {
|
||||||
NMSImpl.updateMinecraftAIState(npc, this);
|
NMSImpl.updateMinecraftAIState(npc, this);
|
||||||
setImmuneToZombification(npc.isProtected());
|
setImmuneToZombification(true);
|
||||||
}
|
}
|
||||||
super.mobTick();
|
super.mobTick();
|
||||||
if (npc != null) {
|
if (npc != null) {
|
||||||
|
@ -172,7 +172,7 @@ public class PiglinController extends MobEntityController {
|
|||||||
public void mobTick() {
|
public void mobTick() {
|
||||||
if (npc != null) {
|
if (npc != null) {
|
||||||
NMSImpl.updateMinecraftAIState(npc, this);
|
NMSImpl.updateMinecraftAIState(npc, this);
|
||||||
setImmuneToZombification(npc.isProtected());
|
setImmuneToZombification(true);
|
||||||
}
|
}
|
||||||
super.mobTick();
|
super.mobTick();
|
||||||
if (npc != null) {
|
if (npc != null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user