FIXED: Reimplemented old code that caused crashes
FIXED: Reimplemented old code that caused crashes

lbfamous/arcemu,sysuzhang/arcemu,JoMiro/arcemu,arcemu-ng/arcemu,arcemu-ng/arcemu,arcemu/arcemu,dberga/arcbliz,dberga/arcbliz,JoMiro/arcemu,JoMiro/arcemu,arcemu/arcemu,arcemu-ng/arcemu,dberga/arcbliz,lbfamous/arcemu,lbfamous/arcemu,lbfamous/arcemu,sysuzhang/arcemu,arcemu/arcemu,dberga/arcbliz,JoMiro/arcemu,arcemu-ng/arcemu,JoMiro/arcemu,lbfamous/arcemu,arcemu/arcemu,sysuzhang/arcemu,sysuzhang/arcemu,JoMiro/arcemu,dberga/arcbliz,arcemu/arcemu,arcemu-ng/arcemu,arcemu/arcemu,arcemu-ng/arcemu,sysuzhang/arcemu,lbfamous/arcemu,sysuzhang/arcemu