Core/Misc: Fix exploit

Fix exploit that allowed to learn spells from recipes without consuming them.