mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2026-02-17 17:32:36 +01:00
2.2.049
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
Version 2.2.049
|
||||
Combat abilities work with spear in off-hand again (see notes)
|
||||
Sweet berry bushes now work with Herbalism (thanks dnocturne)
|
||||
(Codebase) Fixed unit tests for Java 25 (thanks Warriorrrr)
|
||||
Fixed copper items not giving XP for Repair (thanks Remski01)
|
||||
Fixed edge case where mcMMO could drop items with stack size set outside normal bounds
|
||||
Fixed rare edge case where mcMMO could drop items with stack size set outside normal bounds
|
||||
Fixed a bug where tamed wolves could cause errors on Folia (thanks Warriorrrr)
|
||||
Improved compatibility with Excellent Enchants (fixed error spam from Flame Walker)
|
||||
(Codebase) Fixed unit tests when building mcMMO with Java 25 (thanks Warriorrrr)
|
||||
|
||||
NOTES:
|
||||
As a semi-permanent work around, mcMMO keeps track of when players swing their weapon, if they have swung it recently enough combat skills will work even if you have a spear in your off-hand.
|
||||
|
||||
2
pom.xml
2
pom.xml
@@ -4,7 +4,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>com.gmail.nossr50.mcMMO</groupId>
|
||||
<artifactId>mcMMO</artifactId>
|
||||
<version>2.2.049-SNAPSHOT</version>
|
||||
<version>2.2.049</version>
|
||||
<name>mcMMO</name>
|
||||
<url>https://github.com/mcMMO-Dev/mcMMO</url>
|
||||
<scm>
|
||||
|
||||
@@ -276,7 +276,7 @@ public class BlockListener implements Listener {
|
||||
if (newState.getType() != Material.OBSIDIAN
|
||||
&& ExperienceConfig.getInstance().doesBlockGiveSkillXP(
|
||||
PrimarySkillType.MINING, newState.getType())) {
|
||||
Block block = newState.getBlock();
|
||||
final Block block = newState.getBlock();
|
||||
if (BlockUtils.isWithinWorldBounds(block)) {
|
||||
BlockUtils.setUnnaturalBlock(block);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user