Added changes related to https://github.com/otland/forgottenserver/commit/815f03e11b0e4528f10a3fd258bbda9aa2ce1e51