Solved Checking if in end portal.

Discussion in 'Plugin Development' started by Royal_Soda, Oct 7, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    Royal_Soda

    Hello, I'd like to know how to check if a player goes into an end portal, since I'd like to re-direct their destination.
     
  2. Offline

    ZeusAllMighty11

  3. Offline

    Royal_Soda

  4. Offline

    ZeusAllMighty11

    if(e.getPlayer().getLocation().equals("World_The_End")){
    // do stuff
    }

    Maybe not, but I think?
     
  5. Offline

    Royal_Soda

    ZeusAllMighty11
    Nope, isn't working.

    Bump, really need this.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 29, 2016
  6. try using the PlayerPortalEvent and redirecting the to location if the blocks surrounding the location where the player entered are end portal blocks
     
Thread Status:
Not open for further replies.

Share This Page