Fixed bork in playerentity.js