Give XP when sneaking for bushes

This commit is contained in:
nossr50 2021-04-02 20:33:48 -07:00
parent a2ee4be86a
commit d25784bf41
2 changed files with 2 additions and 3 deletions

View File

@ -2,6 +2,7 @@ Version 2.1.186
Rupture has been reworked to solve a few outstanding issues (see notes) Rupture has been reworked to solve a few outstanding issues (see notes)
Fixed an exploit involving enchantments (thanks TheBusyBiscuit) Fixed an exploit involving enchantments (thanks TheBusyBiscuit)
Fixed a very small memory leak that would only happen in very rare situations Fixed a very small memory leak that would only happen in very rare situations
Fixed a bug where XP wasn't granted while sneaking and interacting with a berry bush
Gore no longer applies Rupture Gore no longer applies Rupture
Gore no longer sends a message to the Wolf owner when it triggers Gore no longer sends a message to the Wolf owner when it triggers
Gore no longer sends a message to players that are hit by it Gore no longer sends a message to players that are hit by it

View File

@ -849,9 +849,7 @@ public class PlayerListener implements Listener {
} }
} }
} else { } else {
if(!event.getPlayer().isSneaking()) { herbalismManager.processBerryBushHarvesting(blockState);
herbalismManager.processBerryBushHarvesting(blockState);
}
} }
} }
break; break;