Fixed error in #1041
Merge branch 'refactor' of github.com:FPtje/DarkRP into refactor