mirror of
https://github.com/Miasmusa/Shadow.git
synced 2025-04-22 01:03:26 -04:00
fix meteor compatabilkity
This commit is contained in:
parent
ace390f919
commit
935d7b68ab
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue