Fixed some bugs

- NullPointerException in Event
- When spawner inventory open several players and somebody close it, inventory close in all players. Now it fixed.