mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-21 04:22:32 +00:00
Simple Cleanup
This commit is contained in:
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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user