So it should be working.
It just throws the warning.
Validate vocations a different way then:
local validVocations = {
"sorcerer",
"druid",
"paladin",
"knight",
"master sorcerer",
"elder druid",
"royal paladin",
"elite knight",
}
function onTextEdit(player, item...