mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 07:06:45 +01:00
Don't need to save the manager anymore.
This commit is contained in:
parent
4ff1e79cc0
commit
a43a5a0861
@ -8,13 +8,11 @@ import com.gmail.nossr50.skills.runnables.BleedTimer;
|
|||||||
import com.gmail.nossr50.skills.utilities.SkillTools;
|
import com.gmail.nossr50.skills.utilities.SkillTools;
|
||||||
|
|
||||||
public class BleedEventHandler {
|
public class BleedEventHandler {
|
||||||
private SwordsManager manager;
|
|
||||||
private int skillLevel;
|
private int skillLevel;
|
||||||
private LivingEntity defender;
|
private LivingEntity defender;
|
||||||
protected int skillModifier;
|
protected int skillModifier;
|
||||||
|
|
||||||
protected BleedEventHandler(SwordsManager manager, LivingEntity defender) {
|
protected BleedEventHandler(SwordsManager manager, LivingEntity defender) {
|
||||||
this.manager = manager;
|
|
||||||
this.skillLevel = manager.getSkillLevel();
|
this.skillLevel = manager.getSkillLevel();
|
||||||
this.defender = defender;
|
this.defender = defender;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user