mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-07-23 07:40:29 +02:00
fix Roll interactions with CMI fixes #5151
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
Version 2.2.032
|
||||
Fixed bug where Roll would throw exceptions with certain CMI interactions
|
||||
Blast Mining no longer drops infested block variants
|
||||
Reduced bonus drops on Blast Mining and randomized results (see notes)
|
||||
|
||||
|
@@ -56,7 +56,8 @@ public class Roll extends AcrobaticsSubSkill {
|
||||
final EntityDamageEvent entityDamageEvent = (EntityDamageEvent) event;
|
||||
|
||||
//Make sure a real player was damaged in this event
|
||||
if (!EventUtils.isRealPlayerDamaged(entityDamageEvent))
|
||||
if (!EventUtils.isRealPlayerDamaged(entityDamageEvent)
|
||||
|| !entityDamageEvent.isApplicable(EntityDamageEvent.DamageModifier.MAGIC))
|
||||
return false;
|
||||
|
||||
if (entityDamageEvent.getCause() == EntityDamageEvent.DamageCause.FALL) {
|
||||
|
Reference in New Issue
Block a user