Getting A Player's Location

Discussion in 'Plugin Development' started by SystemShocker, Apr 10, 2012.

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

    SystemShocker

    I'm new to making Bukkit plugins and probably have a pretty simple question. How would I go about getting a player's location and then checking it against another location? In my case I want to check to see if the player is below the void (the y coord is less than o). Any help would be greatly appreciated. Thanks!
     
  2. Offline

    bleachisback

    if(player.getLocation().getY()<0){...
     
Thread Status:
Not open for further replies.

Share This Page