Fix CheckSyle error
This commit is contained in:
parent
dcdf4be684
commit
cf2a8f6f3f
2 changed files with 4 additions and 3 deletions
|
@ -31,7 +31,7 @@ public final class MatrixTranformations {
|
|||
|
||||
/**
|
||||
* Shifts the coordinates around effectively rotating something. Zero state
|
||||
* is DOWN then -> NORTH -> WEST Note - To obtain Position, do a mirrorY() before
|
||||
* is DOWN then -> NORTH -> WEST Note - To obtain Position, do a mirrorY() before
|
||||
* rotating
|
||||
*
|
||||
* @param targetArray the array that should be rotated
|
||||
|
|
|
@ -71,8 +71,9 @@ public class BlockBuildcraftFluid extends BlockFluidClassic {
|
|||
|
||||
@Override
|
||||
public void onEntityCollidedWithBlock(World world, int x, int y, int z, Entity entity) {
|
||||
|
||||
if(!dense || entity == null) return;
|
||||
if (!dense || entity == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
entity.motionY = Math.min(0.0, entity.motionY);
|
||||
|
||||
|
|
Loading…
Reference in a new issue