That doesn't fix it. Same error occurs.
I even tried disabling everything after the Materia pluggin.
It happens even when AP is given through pluggin commands. It is something in there directly.
Due to the error report it seems to be coming from the Gain AP code
View attachment 188606
As I said earlier, I used a debug log to check and slot appears to be undefined (And the debug log notes the error is at line 1434, 18 along, which is where the materia is mentioned). I don't understand how your code works so could you give suggestions?
View attachment 188607
(I added in a console log below the var slot and above the slot.materias)
View attachment 188608
I even tried disabling everything after the Materia pluggin.
It happens even when AP is given through pluggin commands. It is something in there directly.
Due to the error report it seems to be coming from the Gain AP code
View attachment 188606
As I said earlier, I used a debug log to check and slot appears to be undefined (And the debug log notes the error is at line 1434, 18 along, which is where the materia is mentioned). I don't understand how your code works so could you give suggestions?
View attachment 188607
(I added in a console log below the var slot and above the slot.materias)
View attachment 188608