mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-09-29 07:37:46 +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_();
|
super.B_();
|
||||||
if (npc == null)
|
if (npc == null)
|
||||||
return;
|
return;
|
||||||
if (this.getAdvancementData().data != null) {
|
|
||||||
this.getAdvancementData().data.clear();
|
|
||||||
}
|
|
||||||
this.noclip = isSpectator();
|
this.noclip = isSpectator();
|
||||||
if (updateCounter + 1 > Setting.PACKET_UPDATE_DELAY.asInt()) {
|
if (updateCounter + 1 > Setting.PACKET_UPDATE_DELAY.asInt()) {
|
||||||
updateEffects = true;
|
updateEffects = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user