Re-implemented triple jumps
This commit is contained in:
parent
d3cb99f431
commit
59699f930e
@ -127,7 +127,7 @@ public class PerkDoubleJump extends Perk
|
||||
}
|
||||
}
|
||||
|
||||
Recharge.Instance.useForce(player, "Double Jump", 500);
|
||||
//Recharge.Instance.useForce(player, "Double Jump", 500);
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
@ -147,8 +147,8 @@ public class PerkDoubleJump extends Perk
|
||||
if (_recharge > 0 && !Recharge.Instance.usable(player, GetName()))
|
||||
continue;
|
||||
|
||||
if (!Recharge.Instance.usable(player, "Double Jump"))
|
||||
continue;
|
||||
// if (!Recharge.Instance.usable(player, "Double Jump"))
|
||||
// continue;
|
||||
|
||||
if (player.isOnGround() || (UtilBlock.solid(player.getLocation().getBlock().getRelative(BlockFace.DOWN)) && UtilBlock.solid(player.getLocation().getBlock())))
|
||||
player.setAllowFlight(true);
|
||||
|
Loading…
Reference in New Issue
Block a user