Skip to content

Commit

Permalink
Set immune to zombification always
Browse files Browse the repository at this point in the history
  • Loading branch information
fullwall committed Jan 9, 2021
1 parent 97fae0a commit 7023ac4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Expand Up @@ -172,7 +172,7 @@ public boolean isLeashed() {
public void mobTick() {
if (npc != null) {
NMSImpl.updateMinecraftAIState(npc, this);
setImmuneToZombification(npc.isProtected());
setImmuneToZombification(true);
}
super.mobTick();
if (npc != null) {
Expand Down
Expand Up @@ -177,7 +177,7 @@ public boolean isLeashed() {
public void mobTick() {
if (npc != null) {
NMSImpl.updateMinecraftAIState(npc, this);
setImmuneToZombification(npc.isProtected());
setImmuneToZombification(true);
}
super.mobTick();
if (npc != null) {
Expand Down
Expand Up @@ -172,7 +172,7 @@ public boolean isLeashed() {
public void mobTick() {
if (npc != null) {
NMSImpl.updateMinecraftAIState(npc, this);
setImmuneToZombification(npc.isProtected());
setImmuneToZombification(true);
}
super.mobTick();
if (npc != null) {
Expand Down

0 comments on commit 7023ac4

Please sign in to comment.