Auto format
This commit is contained in:
parent
aceeb7a037
commit
e16c3eba02
55 changed files with 128 additions and 182 deletions
src/main/java/techreborn/blocks/generator
|
@ -66,7 +66,7 @@ public class BlockSolarPanel extends BaseTileBlock implements ITexturedBlock {
|
|||
|
||||
@Override
|
||||
public IBlockState getStateForPlacement(World worldIn, BlockPos pos, EnumFacing facing, float hitX, float hitY,
|
||||
float hitZ, int meta, EntityLivingBase placer) {
|
||||
float hitZ, int meta, EntityLivingBase placer) {
|
||||
if (!worldIn.isRemote) {
|
||||
if (worldIn.canBlockSeeSky(pos.up()) && !worldIn.isRaining() && !worldIn.isThundering() && worldIn.isDaytime()) {
|
||||
return this.getDefaultState().withProperty(ACTIVE, true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue