1
0
Fork 0

attemp to fix old music discs not playing

This commit is contained in:
AFCMS 2021-06-19 00:39:48 +02:00
parent b03cd1fc8e
commit a9ae6aa9c8
1 changed files with 16 additions and 1 deletions

View File

@ -239,10 +239,25 @@ mcl_jukebox.register_record("The Clueless Frog (Jordach's Mix)", "SoundHelix", "
--add backward compatibility --add backward compatibility
minetest.register_alias("mcl_jukebox:record_1", "mcl_jukebox:record_13") minetest.register_alias("mcl_jukebox:record_1", "mcl_jukebox:record_13")
mcl_jukebox.registered_records["mcl_jukebox:record_1"] = mcl_jukebox.registered_records["mcl_jukebox:record_13"]
minetest.register_alias("mcl_jukebox:record_2", "mcl_jukebox:record_wait") minetest.register_alias("mcl_jukebox:record_2", "mcl_jukebox:record_wait")
mcl_jukebox.registered_records["mcl_jukebox:record_2"] = mcl_jukebox.registered_records["mcl_jukebox:record_wait"]
minetest.register_alias("mcl_jukebox:record_3", "mcl_jukebox:record_blocks") minetest.register_alias("mcl_jukebox:record_3", "mcl_jukebox:record_blocks")
mcl_jukebox.registered_records["mcl_jukebox:record_3"] = mcl_jukebox.registered_records["mcl_jukebox:record_blocks"]
minetest.register_alias("mcl_jukebox:record_4", "mcl_jukebox:record_far") minetest.register_alias("mcl_jukebox:record_4", "mcl_jukebox:record_far")
mcl_jukebox.registered_records["mcl_jukebox:record_4"] = mcl_jukebox.registered_records["mcl_jukebox:record_far"]
minetest.register_alias("mcl_jukebox:record_5", "mcl_jukebox:record_chirp") minetest.register_alias("mcl_jukebox:record_5", "mcl_jukebox:record_chirp")
mcl_jukebox.registered_records["mcl_jukebox:record_5"] = mcl_jukebox.registered_records["mcl_jukebox:record_chirp"]
minetest.register_alias("mcl_jukebox:record_6", "mcl_jukebox:record_strad") minetest.register_alias("mcl_jukebox:record_6", "mcl_jukebox:record_strad")
mcl_jukebox.registered_records["mcl_jukebox:record_6"] = mcl_jukebox.registered_records["mcl_jukebox:record_strad"]
minetest.register_alias("mcl_jukebox:record_7", "mcl_jukebox:record_mellohi") minetest.register_alias("mcl_jukebox:record_7", "mcl_jukebox:record_mellohi")
mcl_jukebox.registered_records["mcl_jukebox:record_7"] = mcl_jukebox.registered_records["mcl_jukebox:record_mellohi"]
minetest.register_alias("mcl_jukebox:record_8", "mcl_jukebox:record_mall") minetest.register_alias("mcl_jukebox:record_8", "mcl_jukebox:record_mall")
mcl_jukebox.registered_records["mcl_jukebox:record_8"] = mcl_jukebox.registered_records["mcl_jukebox:record_mall"]