Add getLocation to the API

This commit is contained in:
filoghost 2014-12-20 18:25:03 +01:00
parent 691f14876c
commit c4d1ca694d

View File

@ -99,6 +99,12 @@ public interface Hologram {
*/
public void teleport(World world, double x, double y, double z);
/**
* Returns the position of the hologram.
*
* @return the Location of the hologram
*/
public Location getLocation();
/**
* Returns the X coordinate.