Prevent advancements for human NPCs

This commit is contained in:
fullwall 2017-07-12 20:39:13 +08:00
parent aa3654c3fa
commit 4d67397067
1 changed files with 1 additions and 0 deletions

View File

@ -120,6 +120,7 @@ public class EntityHumanNPC extends EntityPlayer implements NPCHolder, Skinnable
super.B_();
if (npc == null)
return;
this.getAdvancementData().b();
this.noclip = isSpectator();
if (updateCounter + 1 > Setting.PACKET_UPDATE_DELAY.asInt()) {
updateEffects = true;