Don't unmark herbalism blocks early (Fixes #4015)

This commit is contained in:
Shane Freeder 2019-08-06 00:52:19 +01:00
parent dda894dd9a
commit 84cb40521b
No known key found for this signature in database
GPG Key ID: A3F61EA5A085289C

View File

@ -353,6 +353,11 @@ public class BlockListener implements Listener {
if (PrimarySkillType.HERBALISM.getPermissions(player)) {
herbalismManager.processHerbalismBlockBreakEvent(event);
}
/*
* We return here so that we don't unmark any affected blocks
* due to special checks managing this on their own:
*/
return;
}
/* MINING */