Compatible with https://github.com/edubart/otclient/commit/e0625628889566418bfe2be2fda53f7a1531f1b0
* Few minor changes.