Close #477 Auto-Format code with new formatting settings

This commit is contained in:
mezz committed 2015-01-26 22:26:21 -08:00
1 parent 8e92d16320
commit 5b8b0c78b0
763 files changed
+13174 -8868

No files matched your search

@@ -4,7 +4,7 @@
* are made available under the terms of the GNU Lesser Public License v3
* which accompanies this distribution, and is available at
* http://www.gnu.org/licenses/lgpl-3.0.txt
*
*
* Various Contributors including, but not limited to:
* SirSengir (original work), CovertJaguar, Player, Binnie, MysteriousAges
******************************************************************************/
@@ -36,8 +36,9 @@ public abstract class Crop implements ICrop {
protected final void clearBlock(Vect position) {
world.setBlockToAir(position.x, position.y, position.z);
if (world.getTileEntity(position.x, position.y, position.z) != null)
if (world.getTileEntity(position.x, position.y, position.z) != null) {
world.setTileEntity(position.x, position.y, position.z, null);
}
}
protected final Block getBlock(Vect position) {
@@ -58,8 +59,9 @@ public abstract class Crop implements ICrop {
@Override
public Collection<ItemStack> harvest() {
if (!isCrop(position))
if (!isCrop(position)) {
return null;
}
return harvestBlock(position);
}