mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-29 19:52:55 +01:00
Block.getFace(BlockFace) is an override for Block.getFace(BlockFace, int)
This commit is contained in:
parent
14b929f382
commit
c5c7145828
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ public class CraftBlock implements Block {
|
||||||
* @return Block at the given face
|
* @return Block at the given face
|
||||||
*/
|
*/
|
||||||
public Block getFace(final BlockFace face) {
|
public Block getFace(final BlockFace face) {
|
||||||
return getRelative(face.getModX(), face.getModY(), face.getModZ());
|
return getFace(face, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue