mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 21:26:46 +01:00
Give XP when sneaking for bushes
This commit is contained in:
parent
a2ee4be86a
commit
d25784bf41
@ -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
|
||||||
|
@ -849,11 +849,9 @@ public class PlayerListener implements Listener {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if(!event.getPlayer().isSneaking()) {
|
|
||||||
herbalismManager.processBerryBushHarvesting(blockState);
|
herbalismManager.processBerryBushHarvesting(blockState);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case RIGHT_CLICK_AIR:
|
case RIGHT_CLICK_AIR:
|
||||||
|
Loading…
Reference in New Issue
Block a user