Skip to content

Commit

Permalink
Fixed version range
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianMichael committed Nov 13, 2023
1 parent 37c9112 commit a5a338e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ public boolean removeBl8Boolean(boolean value) {

@Redirect(method = "canStartSprinting", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/network/ClientPlayerEntity;isFallFlying()Z"))
public boolean removeElytraMovementCheck(ClientPlayerEntity instance) {
if (ProtocolHack.getTargetVersion().isOlderThanOrEqualTo(VersionEnum.r1_19_4)) {
if (ProtocolHack.getTargetVersion().isOlderThanOrEqualTo(VersionEnum.r1_19_3)) {
return false;
}
return instance.isFallFlying();
Expand Down

0 comments on commit a5a338e

Please sign in to comment.