Added a whole buncha overloads for Location in World

This commit is contained in:
Dinnerbone
2011-02-18 16:34:49 +00:00
parent 46f699e4c9
commit 024db76644
2 changed files with 34 additions and 1 deletions

View File

@@ -52,7 +52,7 @@ public class Location implements Cloneable {
* @return Block at the represented location
*/
public Block getBlock() {
return world.getBlockAt(getBlockX(), getBlockY(), getBlockZ());
return world.getBlockAt(this);
}
/**