when i tried what you suggested it said that the method could not be found but the way i did it does not come up with any errors it just does not acknowledge platform
The method is probably found, but you do not yet have code to react to when it returns true. Add an else block after line 14 to deal with landing/standing on a platform.