Solved location before player is teleported

Discussion in 'Plugin Development' started by kangkyuchang, Jun 29, 2020.

  1. Offline

    kangkyuchang

    How do I know location that the player was before being teleported?
     
  2. Online

    timtower Moderator Moderator

  3. Offline

    kangkyuchang

    @timtower Yes. I am currently using e.getfrom() in a PlayerTeleportEvent.
     
  4. Online

    timtower Moderator Moderator

    And how is that not working then?
     
  5. Offline

    kangkyuchang

    I haven't set up an EventHandler. Now it work well
     

Share This Page