So, I googled this question and I didn't find a soluton to this problem. Never mind, I have found a solution It is: if (event.getEntityType() ==...
Separate names with a comma.