Fixed security issue

Fixed a security issue, where modders would be able to manipulate the
internal player table