mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-27 07:17:58 +01:00
Set the spell as dead when removing it
This commit is contained in:
parent
420f78eaaf
commit
92ad502fa7
1 changed files with 1 additions and 0 deletions
|
@ -114,6 +114,7 @@ class MultiSpellSlot implements SpellSlots, NbtSerialisable {
|
|||
} else {
|
||||
Spell s = spell.get();
|
||||
if (s != null) {
|
||||
s.setDead();
|
||||
s.tickDying(owner);
|
||||
if (s.isDead()) {
|
||||
s.destroy(owner);
|
||||
|
|
Loading…
Reference in a new issue