mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-27 07:17:58 +01:00
Fix: Fix reference losing traits when serializing
This commit is contained in:
parent
1f2df6daf5
commit
d38a02dcd4
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ public final class SpellReference<T extends Spell> implements NbtSerialisable {
|
|||
public void toNBT(NbtCompound compound) {
|
||||
if (spell != null && !spell.isDead()) {
|
||||
spell.toNBT(compound);
|
||||
spell.getTypeAndTraits().type().toNbt(compound);
|
||||
spell.getTypeAndTraits().toNbt(compound);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue