Fixed plugin

This makes plugin compatible with latest MCServer