(Jetsinsu) Help! Get horse location!

Discussion in 'Plugin Development' started by Jetsinsu, Jan 27, 2014.

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

    Jetsinsu

    Hey guys! I would like to know how to get a horse location with a players location like this code (This isn't a real "working" code). Please don't troll and say "Learn Java."
    p = Player
    Code:
    Horse h = (Horse) ((Horse) p.getWorld()).getLocation();
     
  2. Offline

    ColaCraft

    Code:java
    1. Horse h = (Horse) p.getPassengerOf();


    I think is the way to do it.

    **EDIT**

    Your way is Horse returning a location, just use this
     
  3. Offline

    Jetsinsu

    Thanks
     
Thread Status:
Not open for further replies.

Share This Page