henkelmax / audio-player

Put your own audio files on music discs!
58 stars 21 forks source link

Can't use '/audioplayer play' on command blocks #62

Closed LiveDimensions closed 1 year ago

LiveDimensions commented 1 year ago

Bug description Using /audioplayer play does not work in command blocks.

Steps to reproduce the issue

  1. Upload a sound file
  2. Try to use a command block with /audioplayer play to play the sound
  3. The command will not work, it will show an error in the Previous Output

Expected behavior The command block executes the command just like if a player were to execute it.

Log files There is no relevant logs in the console. The command block previous output is cutoff but ends in: ...dioplayer play <UUID> ~ ~ ~ 256<--[HERE]

Versions

Other mods I have tested with only AudioPlayer and dependencies installed and got the same result.

Screenshots image

LiveDimensions commented 1 year ago

@henkelmax it seems like this is still an issue in servers... Tested on singleplayer and everything works as expected, but running a barebones Fabric server (same version as original issue) with only AudioPlayer installed it results in the same problem. image