You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
912 B
21 lines
912 B
--- ../src-base/minecraft/org/bukkit/event/entity/EntityDamageByBlockEvent.java |
|
+++ ../src-work/minecraft/org/bukkit/event/entity/EntityDamageByBlockEvent.java |
|
@@ -2,6 +2,7 @@ |
|
|
|
import java.util.Map; |
|
|
|
+import com.google.common.base.Function; |
|
import org.bukkit.block.Block; |
|
import org.bukkit.entity.Entity; |
|
|
|
@@ -22,8 +23,8 @@ |
|
this.damager = damager; |
|
} |
|
|
|
- public EntityDamageByBlockEvent(final Block damager, final Entity damagee, final DamageCause cause, final Map<DamageModifier, Double> modifiers) { |
|
- super(damagee, cause, modifiers); |
|
+ public EntityDamageByBlockEvent(final Block damager, final Entity damagee, final DamageCause cause, final Map<DamageModifier, Double> modifiers, final Map<DamageModifier, ? extends Function<? super Double, Double>> modifierFunctions) { |
|
+ super(damagee, cause, modifiers, modifierFunctions); |
|
this.damager = damager; |
|
} |
|
|
|
|