refactor: remove useless cancel call
This commit is contained in:
parent
b3f5e4f633
commit
c1c7907e49
1 changed files with 0 additions and 1 deletions
|
@ -12,6 +12,5 @@ public class SoundSystemMixin {
|
|||
@Inject(method = "getAdjustedPitch", at = @At("HEAD"), cancellable = true)
|
||||
private void getAdjustedPitch (SoundInstance sound, CallbackInfoReturnable<Float> cir) {
|
||||
cir.setReturnValue(sound.getPitch());
|
||||
cir.cancel();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue