mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2025-02-11 03:30:10 +00:00
Fix HighJump Cooldown
This commit is contained in:
parent
ee13d2e43b
commit
0803c8c6bd
1 changed files with 3 additions and 1 deletions
|
@ -27,6 +27,9 @@ public class HighJump {
|
|||
}
|
||||
|
||||
jump(p);
|
||||
cooldowns.put(p.getName(), System.currentTimeMillis());
|
||||
|
||||
|
||||
}
|
||||
|
||||
private void jump(Player p) {
|
||||
|
@ -37,7 +40,6 @@ public class HighJump {
|
|||
vec.setY(jumpheight);
|
||||
p.setVelocity(vec);
|
||||
// cooldowns.put(p.getName(), System.currentTimeMillis());
|
||||
cooldowns.put(p.getName(), System.currentTimeMillis());
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue