mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-14 19:55:52 -07:00
Block.getFace(BlockFace) is an override for Block.getFace(BlockFace, int)
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user