Skip to content

Commit

Permalink
Remove unnecessary ForwardingAudience overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
kezz committed Jun 6, 2021
1 parent 48a2c25 commit eb149fe
Showing 1 changed file with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,11 +142,6 @@ default void playSound(final @NotNull Sound sound, final double x, final double
for (final Audience audience : this.audiences()) audience.playSound(sound, x, y, z);
}

@Override
default void stopSound(final @NonNull Sound sound) {
for(final Audience audience : this.audiences()) audience.stopSound(sound);
}

@Override
default void stopSound(final @NotNull SoundStop stop) {
for (final Audience audience : this.audiences()) audience.stopSound(stop);
Expand Down Expand Up @@ -265,11 +260,6 @@ default void playSound(final @NotNull Sound sound, final double x, final double
this.audience().playSound(sound, x, y, z);
}

@Override
default void stopSound(final @NonNull Sound sound) {
this.audience().stopSound(sound);
}

@Override
default void stopSound(final @NotNull SoundStop stop) {
this.audience().stopSound(stop);
Expand Down

0 comments on commit eb149fe

Please sign in to comment.