Make the activation of the Rocket Booster more responsive when in the

air.
This commit is contained in:
sigonasr2 2017-01-19 21:46:10 -06:00
parent 09919b5ac8
commit 76bb197cca
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -669,7 +669,7 @@ public class Christmas {
} }
} }
if ((ev.getAction()==Action.RIGHT_CLICK_AIR || if ((ev.getAction()==Action.RIGHT_CLICK_AIR ||
ev.getAction()==Action.RIGHT_CLICK_BLOCK) && ev.useInteractedBlock()==Result.DENY) { ev.getAction()==Action.RIGHT_CLICK_BLOCK) && (ev.useInteractedBlock()==Result.DENY || !p.isOnGround())) {
UseRocketBooster(ev, p); UseRocketBooster(ev, p);
} }
if ((ev.getAction()==Action.RIGHT_CLICK_AIR || ev.getAction()==Action.RIGHT_CLICK_BLOCK) && if ((ev.getAction()==Action.RIGHT_CLICK_AIR || ev.getAction()==Action.RIGHT_CLICK_BLOCK) &&