mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-14 03:21:57 +01:00
Whitespace + general cleanup
By: Erik Broes <erikbroes@grum.nl>
This commit is contained in:
parent
045c14c210
commit
776b9efd3e
@ -245,8 +245,7 @@ public class CraftBlock implements Block {
|
|||||||
BlockFace[] values = BlockFace.values();
|
BlockFace[] values = BlockFace.values();
|
||||||
|
|
||||||
for (BlockFace face : values) {
|
for (BlockFace face : values) {
|
||||||
if (
|
if ((this.getX() + face.getModX() == block.getX()) &&
|
||||||
(this.getX() + face.getModX() == block.getX()) &&
|
|
||||||
(this.getY() + face.getModY() == block.getY()) &&
|
(this.getY() + face.getModY() == block.getY()) &&
|
||||||
(this.getZ() + face.getModZ() == block.getZ())
|
(this.getZ() + face.getModZ() == block.getZ())
|
||||||
) {
|
) {
|
||||||
|
Loading…
Reference in New Issue
Block a user