Small update of #1241
Added compat function from https://github.com/otland/forgottenserver/commit/70855f087f836360142c1eb2c19efd7c159144fe
minor
Merge pull request #1277 from EPuncker/master

Small update of #1241