Fixed effect bug

The bug that made it impossible to use PlayEffect and PlayEntityEffect
in spells is now fixed

fixes #50