Parsing unset variable with PAPI causes internal error instead of returning "null"
Summary
Parsing unset variable with PAPI causes internal error instead of returning "null"
Steps to reproduce
- Attempt to parse a variable with PAPI for a variable that doesn't exist/isn't set
/papi parse me %mythic_var_thisvardoesntexist%
Current behavior
Returning Internal Error
Intended correct behavior
Should return "Null"
Debug log snippet
https://pastebin.com/BT58qzMt Dev 5.7.0
Proposed fixes
Add catch if the variable is null to return null on placeholder