mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 21:26:46 +01:00
account for null entries in bleedtimer
This commit is contained in:
parent
c46b7ed3bc
commit
f028d91eb0
@ -69,7 +69,8 @@ public class BleedTimerTask extends BukkitRunnable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void lowerBleedDurationTicks(LivingEntity target) {
|
private void lowerBleedDurationTicks(LivingEntity target) {
|
||||||
bleedList.put(target, bleedList.get(target) - 1);
|
if(bleedList.get(target) != null)
|
||||||
|
bleedList.put(target, bleedList.get(target) - 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user