summaryrefslogtreecommitdiffstats
path: root/src/main/java/org
diff options
context:
space:
mode:
authorDinnerbone <dinnerbone@dinnerbone.com>2011-01-07 10:48:09 +0000
committerDinnerbone <dinnerbone@dinnerbone.com>2011-01-07 10:48:09 +0000
commitc5c7145828dd87d72fe3e526e341b459b49cbd7e (patch)
treee90da290b894a5eecbdace1bc0d88974aa40d659 /src/main/java/org
parent14b929f382a3d458021f2b36b9ae067a8fe95fc0 (diff)
downloadcraftbukkit-c5c7145828dd87d72fe3e526e341b459b49cbd7e.tar
craftbukkit-c5c7145828dd87d72fe3e526e341b459b49cbd7e.tar.gz
craftbukkit-c5c7145828dd87d72fe3e526e341b459b49cbd7e.tar.lz
craftbukkit-c5c7145828dd87d72fe3e526e341b459b49cbd7e.tar.xz
craftbukkit-c5c7145828dd87d72fe3e526e341b459b49cbd7e.zip
Block.getFace(BlockFace) is an override for Block.getFace(BlockFace, int)
Diffstat (limited to 'src/main/java/org')
-rw-r--r--src/main/java/org/bukkit/craftbukkit/CraftBlock.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftBlock.java b/src/main/java/org/bukkit/craftbukkit/CraftBlock.java
index 4048434a..e706951e 100644
--- a/src/main/java/org/bukkit/craftbukkit/CraftBlock.java
+++ b/src/main/java/org/bukkit/craftbukkit/CraftBlock.java
@@ -153,7 +153,7 @@ public class CraftBlock implements Block {
* @return Block at the given face
*/
public Block getFace(final BlockFace face) {
- return getRelative(face.getModX(), face.getModY(), face.getModZ());
+ return getFace(face, 1);
}
/**