added new event handler
Merge pull request #1 from qhenckel/master

fixed the player pvp problem.