mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-23 13:46:46 +01:00
Fixed a bug with Blast Mining incorrectly handling reduced TNT damage.
This commit is contained in:
parent
72b8eb85b0
commit
630b64462e
@ -25,10 +25,13 @@ public class DemoltionsExpertiseEventHandler {
|
|||||||
damageModifier = 0;
|
damageModifier = 0;
|
||||||
}
|
}
|
||||||
else if (skillLevel >= BlastMining.BLAST_MINING_RANK_6) {
|
else if (skillLevel >= BlastMining.BLAST_MINING_RANK_6) {
|
||||||
damageModifier = 0.5;
|
damageModifier = 0.25;
|
||||||
}
|
}
|
||||||
else if (skillLevel >= BlastMining.BLAST_MINING_RANK_4) {
|
else if (skillLevel >= BlastMining.BLAST_MINING_RANK_4) {
|
||||||
damageModifier = 0.25;
|
damageModifier = 0.5;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
damageModifier = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user