mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-06-21 20:14:56 +02:00
Avoid clearing advancement data
This commit is contained in:
parent
46079e717c
commit
d67324c885
|
@ -120,9 +120,6 @@ public class EntityHumanNPC extends EntityPlayer implements NPCHolder, Skinnable
|
|||
super.B_();
|
||||
if (npc == null)
|
||||
return;
|
||||
if (this.getAdvancementData().data != null) {
|
||||
this.getAdvancementData().data.clear();
|
||||
}
|
||||
this.noclip = isSpectator();
|
||||
if (updateCounter + 1 > Setting.PACKET_UPDATE_DELAY.asInt()) {
|
||||
updateEffects = true;
|
||||
|
|
Loading…
Reference in New Issue
Block a user