Fixed https://github.com/arcemu/arcemu/issues/313