···111111 /** Receiver for a C2S {@link ModPayloads.UploadJukeboxes} payload, which holds data to send to clients in the future for them to
112112 * generate custom sound resource packs, as well as jukebox song definitions corresponding to this data. */
113113 public static void unpackUploadedJukeboxes(ModPayloads.UploadJukeboxes payload, ServerPlayNetworking.Context context) {
114114- if (!InfinityMod.provider.rule("useSoundSyncPackets")) return;
114114+ if (!RandomProvider.rule("useSoundSyncPackets")) return;
115115 NbtCompound data = payload.data();
116116 if (!data.contains("jukeboxes") || !data.contains("entries")) return;
117117 MinecraftServer server = context.player().server;