Fix CheckSyle error

This commit is contained in:
Kuba Sztandera 2015-01-11 15:33:03 +01:00
parent dcdf4be684
commit cf2a8f6f3f
2 changed files with 4 additions and 3 deletions

View file

@ -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

View file

@ -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);