mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-02 08:39:49 +01:00
ACTUALLY fix issue with TNT damage - Fixes #510.
This commit is contained in:
parent
630b64462e
commit
ec6a7e79d6
@ -17,12 +17,8 @@ public class DemoltionsExpertiseEventHandler {
|
||||
}
|
||||
|
||||
protected void calculateDamageModifier() {
|
||||
if (skillLevel < BlastMining.BLAST_MINING_RANK_4) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (skillLevel >= BlastMining.BLAST_MINING_RANK_8) {
|
||||
damageModifier = 0;
|
||||
damageModifier = 0.0;
|
||||
}
|
||||
else if (skillLevel >= BlastMining.BLAST_MINING_RANK_6) {
|
||||
damageModifier = 0.25;
|
||||
@ -31,7 +27,7 @@ public class DemoltionsExpertiseEventHandler {
|
||||
damageModifier = 0.5;
|
||||
}
|
||||
else {
|
||||
damageModifier = 1;
|
||||
damageModifier = 1.0;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user