mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2025-02-11 19:50:37 +00:00
Hold sneak when Catapulting for less distance
This commit is contained in:
parent
efd57e989c
commit
efc07ce4c9
1 changed files with 1 additions and 0 deletions
|
@ -65,6 +65,7 @@ public class Catapult {
|
|||
if ((double) distance >= location.distance(origin)) {
|
||||
catapult = true;
|
||||
}
|
||||
if (player.isSneaking()) distance = distance / 2;
|
||||
time = System.currentTimeMillis() - interval;
|
||||
starttime = System.currentTimeMillis();
|
||||
moving = true;
|
||||
|
|
Loading…
Reference in a new issue