Make the activation of the Rocket Booster more responsive when in the
air.
This commit is contained in:
parent
09919b5ac8
commit
76bb197cca
Binary file not shown.
@ -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) &&
|
||||||
|
Loading…
x
Reference in New Issue
Block a user