Added map isOnPlatform for checking entities isOnPlatform