mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-27 03:04:44 +02:00
Misc formatting. Clarifying something in changelog.
This commit is contained in:
@ -39,12 +39,15 @@ public class Acrobatics {
|
||||
if(Math.random() * 1000 <= acrovar && !event.isCancelled())
|
||||
{
|
||||
int threshold = 7;
|
||||
|
||||
if(player.isSneaking())
|
||||
threshold = 14;
|
||||
|
||||
int newDamage = event.getDamage() - threshold;
|
||||
|
||||
if(newDamage < 0)
|
||||
newDamage = 0;
|
||||
|
||||
/*
|
||||
* Check for death
|
||||
*/
|
||||
|
Reference in New Issue
Block a user