Add getWorld to PlayerLocation.

This commit is contained in:
asofold 2013-01-04 17:04:01 +01:00
parent 530f85c03c
commit 69f46c2f12

View File

@ -117,6 +117,14 @@ public class PlayerLocation {
public Location getLocation() {
return new Location(world, x, y, z);
}
/**
* Get the world!
* @return
*/
public World getWorld(){
return world;
}
/**
* Gets the blockX.