mcMMO/src/main/java/com/gmail/nossr50/skills/taming/ShockProofEventHandler.java
2013-01-22 10:48:10 -05:00

16 lines
405 B
Java

package com.gmail.nossr50.skills.taming;
import org.bukkit.event.entity.EntityDamageEvent;
public class ShockProofEventHandler {
private EntityDamageEvent event;
protected ShockProofEventHandler (EntityDamageEvent event) {
this.event = event;
}
protected void modifyEventDamage() {
event.setDamage(event.getDamage() / Taming.shockProofModifier);
}
}