diff options
author | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-01-07 10:48:09 +0000 |
---|---|---|
committer | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-01-07 10:48:09 +0000 |
commit | c5c7145828dd87d72fe3e526e341b459b49cbd7e (patch) | |
tree | e90da290b894a5eecbdace1bc0d88974aa40d659 /src/main/java/org | |
parent | 14b929f382a3d458021f2b36b9ae067a8fe95fc0 (diff) | |
download | craftbukkit-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.java | 2 |
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); } /** |