Fix for weird segment bug when swapping segments

When using a custom display that uses a spell, this line sets a numerical value to the `class` key, which conflicts with the default Details metatable `:class()` function that I ensure is on every custom object. Honestly, this is such a niche bug that it's stupid it happens. But when it does happen, no new segments are created. Soo, fix.
This commit is contained in:
Flamanis
2021-03-03 15:40:43 -06:00
committed by GitHub
parent 2daf700d02
commit 1b27156227
-1
View File
@@ -821,7 +821,6 @@
actor.nome = spellname
actor.name = spellname
actor.classe = actor.spellschool
actor.class = actor.spellschool
class = actor.spellschool
local index = self._NameIndexTable [actor.nome]