1
0
Fork 0
mirror of https://github.com/Miasmusa/Shadow.git synced 2025-04-22 01:03:26 -04:00

Merge remote-tracking branch 'origin/master'

This commit is contained in:
0x3C50 2022-04-20 01:27:47 +02:00
commit 16220fe328

View file

@ -70,7 +70,7 @@ public class LivingEntityMixin {
}
}
@Redirect(method = "jump", at = @At(value = "INVOKE", target = "net/minecraft/entity/LivingEntity.getYaw()F"))
@Redirect(method = "jump", at = @At(value = "INVOKE", target = "net/minecraft/entity/LivingEntity.getYaw()F"), require=0)
private float atomic_overwriteFreelookYaw(LivingEntity instance) {
if (instance.equals(ShadowMain.client.player) && ModuleRegistry.getByClass(FreeLook.class).isEnabled()) {
return ModuleRegistry.getByClass(FreeLook.class).newyaw;