Added a whole buncha overloads for Location in World

By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
Bukkit/Spigot
2011-02-18 16:34:49 +00:00
parent 9adb4e4d92
commit d7633fa07b
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);
}
/**