CC: Tweaked

CC: Tweaked

42M Downloads

Bug with disk.hasAudio and disk.playAudio functions

Out-Feu opened this issue ยท 1 comments

commented

Hello,

I tried using the disk.hasAudio and disk.playAudio functions on the Direwolf20 1.16 modpack and it seems that they don't work.

The disk.isPresent and disk.getAudioTitle functions return what they are supposed to.
But the disk.hasAudio always return false, and the disk.playAudio doesn't play the music disc.

I tried with multiple vanilla and modded music discs in singleplayer and in multiplayer with the same result.
I also tried using a speaker to play the sound associated with the music discs, and it worked.

Minecraft Version: 1.16.4
CC: Tweaked Version: 1.95.2
Forge Version: 35.1.36
Modpack: FTB Presents Direwolf20 1.16
Modpack Version 1.5.1

Setup:
ccSetup

Code:
ccCode

Result:
ccResult

commented

Duplicate of #688, which was fixed in 657ceda but hasn't been released yet.