Skip to content

Commit

Permalink
fix stop packet
Browse files Browse the repository at this point in the history
  • Loading branch information
Mindgamesnl committed Jan 21, 2025
1 parent 5b28eee commit 01dca17
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public void onVehicleExit(VehicleExitEvent event) {
if (media == null) return;

SpigotConnection spigotConnection = OpenAudioMc.getService(SpigotPlayerService.class).getClient(player);
OpenAudioMc.getService(NetworkingService.class).send(spigotConnection.getClientConnection(), new PacketClientDestroyMedia(media.getMediaId().toString()));
OpenAudioMc.getService(NetworkingService.class).send(spigotConnection.getClientConnection(), new PacketClientDestroyMedia(media.getMedia().getMediaId().toString()));
}
}

Expand Down

0 comments on commit 01dca17

Please sign in to comment.