I'm convinced that this is actually faster because the JIT is able to
unroll the looping easier this way.
On Oct 15, 2013 5:17 AM, "GJ" <notifications@github.com> wrote:

> In src/main/java/com/gmail/nossr50/skills/woodcutting/Woodcutting.java:
>
> > -                        return;
> > -                    }
> > -                }
> > -            }
> > -        }
> > -
> > -        // Recursive call for each log found
> > -        for (BlockState futureCenterBlock : futureCenterBlocks) {
> > -            if (WoodcuttingManager.treeFellerReachedThreshold) {
> > -                return;
> > -            }
> > -
> > -            processRegularTrees(futureCenterBlock, treeFellerBlocks);
> > -        }
> > -    }
> > +    private static final int[][] directions = {
>
> There has got to be a less ugly way to handle these directions...
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/mcMMO-Dev/mcMMO/pull/1540/files#r6969053>
> .
>