Added a whole buncha overloads for Location in World

By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
Bukkit/Spigot committed 2011-02-18 16:34:49 +00:00
1 parent 9adb4e4d92
commit d7633fa07b
2 files changed
+34 -1

No files matched your search

@@ -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);
}
/**