[2819] Fix issue for quest 1249

Close #43

Signed-off-by: Xfurry <xfurry@scriptdev2.com>