mirror of
https://github.com/Sollace/Unicopia.git
synced 2025-02-07 22:16:44 +01:00
Fixed spells getting destroyed when relogging
This commit is contained in:
parent
54c0acb757
commit
ca792dc4d2
1 changed files with 1 additions and 0 deletions
|
@ -147,6 +147,7 @@ public class EffectSync implements SpellContainer, NbtSerialisable {
|
|||
@Override
|
||||
public void fromNBT(NbtCompound compound) {
|
||||
spells.fromNbt(compound.getCompound("spells"));
|
||||
owner.asEntity().getDataTracker().set(param, spells.toNbt());
|
||||
}
|
||||
|
||||
public interface UpdateCallback {
|
||||
|
|
Loading…
Reference in a new issue