mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-27 11:14:44 +02:00
Second Smelt makes use of its own section in Bonus Drops in config.yml
Co-authored-by: t00thpick1 <t00thpick1dirko@gmail.com>
This commit is contained in:
@ -99,7 +99,7 @@ public class WoodcuttingManager extends SkillManager {
|
||||
*/
|
||||
public void processTreeFeller(BlockState blockState) {
|
||||
Player player = getPlayer();
|
||||
Set<BlockState> treeFellerBlocks = new HashSet<BlockState>();
|
||||
Set<BlockState> treeFellerBlocks = new HashSet<>();
|
||||
|
||||
treeFellerReachedThreshold = false;
|
||||
|
||||
@ -160,7 +160,7 @@ public class WoodcuttingManager extends SkillManager {
|
||||
* before taking measurements).
|
||||
*/
|
||||
private void processTree(BlockState blockState, Set<BlockState> treeFellerBlocks) {
|
||||
List<BlockState> futureCenterBlocks = new ArrayList<BlockState>();
|
||||
List<BlockState> futureCenterBlocks = new ArrayList<>();
|
||||
|
||||
// Check the block up and take different behavior (smaller search) if it's a log
|
||||
if (processTreeFellerTargetBlock(blockState.getBlock().getRelative(BlockFace.UP).getState(), futureCenterBlocks, treeFellerBlocks)) {
|
||||
|
Reference in New Issue
Block a user