[MC-7525] Entities don't clear lists before reloading from NBT. Created: 15/Jan/13  Updated: 11/Jun/17  Resolved: 26/Nov/13

Status: Resolved
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Minecraft 1.4.6, Minecraft 1.4.7, Snapshot 13w02a, Snapshot 13w02b
Fix Version/s: None

Type: Bug
Reporter: Abandoned account Assignee: Unassigned
Resolution: Invalid Votes: 0
Labels: None
Environment:

LWJGL 2.8.5 (latest)
Java 7 Update 11 (latest)


Issue Links:
Relates
relates to MC-2725 Invisibility Glitch on Death Resolved
relates to MC-7527 Infinite potion effects after dying Resolved
Confirmation Status: Unconfirmed

 Description   

Entities don't clear lists (like "ActiveEffects") before reloading from NBT.

If you remove the ActiveEffects tag and tell the entity to read from nbt again, the effects on the entity won't change.

This may have something to do with MC-2725 and could possibly easily be fixed by clearing lists the entity loads before it reads them.



 Comments   
Comment by Abandoned account [ 18/Jan/14 ]

Still an issue in 14w03b.

Comment by Talven81 [ 26/Nov/13 ]

No response in 8 months, assuming no longer an issue.

Comment by Tails [ 17/Mar/13 ]

Is this still a concern in the current Minecraft version? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

Generated at Sun Jan 12 12:14:48 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.