10 ticks of swimming
This commit is contained in:
parent
73b4c161ac
commit
86f2e98df3
@ -133,7 +133,7 @@ public class AndroidCapabilityPlayer extends AndroidCapability {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
private int last_jump_ticks = 20;
|
private int last_jump_ticks = 10;
|
||||||
|
|
||||||
@SubscribeEvent
|
@SubscribeEvent
|
||||||
public static void inputEvent(InputUpdateEvent event) {
|
public static void inputEvent(InputUpdateEvent event) {
|
||||||
@ -145,11 +145,11 @@ public class AndroidCapabilityPlayer extends AndroidCapability {
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
if (ply.getAbilities().mayfly) {
|
if (ply.getAbilities().mayfly) {
|
||||||
cap.last_jump_ticks = 20;
|
cap.last_jump_ticks = 10;
|
||||||
} else {
|
} else {
|
||||||
if (ply.isInWater()) {
|
if (ply.isInWater()) {
|
||||||
if (ply.isOnGround()) {
|
if (ply.isOnGround()) {
|
||||||
cap.last_jump_ticks = 20;
|
cap.last_jump_ticks = 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ply.isSwimming()) {
|
if (ply.isSwimming()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user