From f2412218cd05c354c29c68ea71f910d432de89c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Fidalgo?= Date: Sat, 21 Sep 2024 20:44:51 +0100 Subject: [PATCH] remove traits from spellbook --- src/SpellBook/SpellBook.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/SpellBook/SpellBook.lua b/src/SpellBook/SpellBook.lua index 06e79d4..f2ba6d5 100644 --- a/src/SpellBook/SpellBook.lua +++ b/src/SpellBook/SpellBook.lua @@ -15,11 +15,10 @@ end -- Get a spell from the spellbook ---@param id number ----@param traits? table ---@return Spell -function SpellBook:GetSpell(id, traits) +function SpellBook:GetSpell(id) if self.spells[id] == nil then - self.spells[id] = Bastion.Spell:New(id, traits) + self.spells[id] = Bastion.Spell:New(id) end return self.spells[id]