Simple Cleanup

This commit is contained in:
mezz committed 2014-12-20 03:59:31 -08:00
1 parent 09df969bcf
commit e2fff11ea8
141 files changed
+545 -859

No files matched your search

@@ -102,8 +102,6 @@ public class FarmLogicCocoa extends FarmLogic {
@Override
public Collection<ICrop> harvest(int x, int y, int z, ForgeDirection direction, int extent) {
Collection<ICrop> crops = null;
Vect start = new Vect(x, y, z);
if (!lastExtentsHarvest.containsKey(start))
lastExtentsHarvest.put(start, 0);
@@ -113,7 +111,7 @@ public class FarmLogicCocoa extends FarmLogic {
lastExtent = 0;
Vect position = translateWithOffset(x, y + 1, z, direction, lastExtent);
crops = getHarvestBlocks(position);
Collection<ICrop> crops = getHarvestBlocks(position);
lastExtent++;
lastExtentsHarvest.put(start, lastExtent);