fixing the resource bug

modified:   include/PlayerHandler.hpp
modified:   src/player/PlayerHandler.cpp