mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-09-11 04:39:32 +00:00
Fix HighJump Cooldown
This commit is contained in:
parent
ee13d2e43b
commit
0803c8c6bd
|
@ -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