Added changes related to https://github.com/otland/forgottenserver/commit/5cc49395a96163fa5304e14cd81654bccf204ef0